diff --git a/apps/ppp/src/components/dropdown.svelte b/apps/ppp/src/components/dropdown.svelte index af69c9c..bf788f9 100644 --- a/apps/ppp/src/components/dropdown.svelte +++ b/apps/ppp/src/components/dropdown.svelte @@ -7,6 +7,7 @@ label?: Snippet<[T]>; preLabel?: Snippet<[T]>; postLabel?: Snippet<[T]>; + children?: Snippet; } let { @@ -15,6 +16,7 @@ label, preLabel, postLabel, + children, }: Props = $props(); let detailsElement: HTMLDetailsElement; @@ -82,6 +84,7 @@ {/each} + {@render children?.()} diff --git a/apps/ppp/src/pages/editor/_editor.svelte b/apps/ppp/src/pages/editor/_editor.svelte index 21d4994..74dd1a4 100644 --- a/apps/ppp/src/pages/editor/_editor.svelte +++ b/apps/ppp/src/pages/editor/_editor.svelte @@ -194,6 +194,16 @@ descriptionDialogElement.showModal() }} class="invisible group-hover:visible" icon="lucide:info" /> {/snippet} + {#snippet children()} +