load file shortcut

This commit is contained in:
vcoppe
2024-04-18 10:52:45 +02:00
parent 685c2bb541
commit 395164033d
4 changed files with 71 additions and 31 deletions

View File

@@ -0,0 +1,16 @@
<script lang="ts">
import { files } from '$lib/stores';
import { ScrollArea } from '$lib/components/ui/scroll-area/index.js';
import { Button } from '$lib/components/ui/button';
</script>
<ScrollArea class="w-full h-full">
<div class="flex flex-col">
{#each $files as file}
<Button variant="outline" class="w-full">
{file.metadata.name}
</Button>
{/each}
</div>
</ScrollArea>