mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 17:22:12 +00:00
file explorer
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user