mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
17 lines
471 B
Svelte
17 lines
471 B
Svelte
<script lang="ts">
|
|
import { ActionEntryButton } from "$lib/components/atoms";
|
|
import { DirectoryEntryLabel } from "$lib/components/molecules";
|
|
import type { SubDirectoryInfo } from "$lib/modules/filesystem";
|
|
|
|
interface Props {
|
|
info: SubDirectoryInfo;
|
|
onclick: () => void;
|
|
}
|
|
|
|
let { info, onclick }: Props = $props();
|
|
</script>
|
|
|
|
<ActionEntryButton class="h-14" {onclick}>
|
|
<DirectoryEntryLabel type="directory" name={info.name} />
|
|
</ActionEntryButton>
|