This commit is contained in:
Timothy Jaeryang Baek
2024-11-30 15:44:04 -08:00
parent acb61d3c42
commit aed2caefe1
4 changed files with 256 additions and 260 deletions
@@ -6,6 +6,8 @@
export let selectedFileId = null;
export let files = [];
export let small = false;
</script>
<div class=" max-h-full flex flex-col w-full">
@@ -16,6 +18,7 @@
colorClassName="{selectedFileId === file.id
? ' bg-gray-50 dark:bg-gray-850'
: 'bg-transparent'} hover:bg-gray-50 dark:hover:bg-gray-850 transition"
{small}
{file}
name={file?.name ?? file?.meta?.name}
type="file"