-
-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
limitationConstraints of the existing architecture make this hard to fixConstraints of the existing architecture make this hard to fix
Description
Description
Here is a Component Header that takes a snippet title as a prop:
// Header.svelte
let {title}: {title: Snippet} = $props();It is used like:
<Header>
{#snippet title()}
...
{/snippet}
</Header>Proposed solution
It would be nice if the {#snippet _} could autocomplete for all snippets that the Component takes:
<Header>
{#snippet <Autocomplete shows all my snippet options>}
...
{/snippet}
</Header>Alternatives
No response
Additional Information, eg. Screenshots
No response
Metadata
Metadata
Assignees
Labels
limitationConstraints of the existing architecture make this hard to fixConstraints of the existing architecture make this hard to fix