chore: rewrite existing shared/ui stories using snippet template pattern
This commit is contained in:
@@ -39,5 +39,7 @@ let defaultSearchValue = $state('');
|
||||
placeholder: 'Type here...',
|
||||
}}
|
||||
>
|
||||
<SearchBar bind:value={defaultSearchValue} placeholder="Type here..." />
|
||||
{#snippet template(args)}
|
||||
<SearchBar bind:value={defaultSearchValue} placeholder="Type here..." {...args} />
|
||||
{/snippet}
|
||||
</Story>
|
||||
|
||||
Reference in New Issue
Block a user