file explorer

This commit is contained in:
vcoppe committed 2026-10-17 14:42:49 +02:00
1 parent b0a3c3a9ba
commit ed90ba6a1f
14 files changed
+263 -19

No files matched your search

@@ -10,7 +10,8 @@
id: string | number;
class?: ClassValue;
trigger: Snippet;
content: Snippet;
/** Gets whether the node is open, for contents that are only worth building then. */
content: Snippet<[boolean]>;
} = $props();
let state = getContext<CollapsibleTreeState>('collapsible-tree-state');
@@ -88,6 +89,6 @@
</Button>
{/if}
<Collapsible.Content>
{@render props.content()}
{@render props.content(open.current)}
</Collapsible.Content>
</Collapsible.Root>