chore: remove unused code

This commit is contained in:
Ilia Mashkov
2026-02-07 18:15:45 +03:00
parent c91ced3617
commit c16ef4acbf

View File

@@ -34,8 +34,6 @@ const { Story } = defineMeta({
<script lang="ts"> <script lang="ts">
let defaultSearchValue = $state(''); let defaultSearchValue = $state('');
let withLabelValue = $state('');
let noChildrenValue = $state('');
</script> </script>
<Story <Story
@@ -45,26 +43,5 @@ let noChildrenValue = $state('');
placeholder: 'Type here...', placeholder: 'Type here...',
}} }}
> >
<SearchBar bind:value={defaultSearchValue} placeholder="Type here..."> </SearchBar> <SearchBar bind:value={defaultSearchValue} placeholder="Type here..." />
</Story>
<Story
name="With Label"
args={{
value: withLabelValue,
placeholder: 'Search products...',
label: 'Search',
}}
>
<SearchBar bind:value={withLabelValue} placeholder="Search products..." label="Search"> </SearchBar>
</Story>
<Story
name="Minimal Content"
args={{
value: noChildrenValue,
placeholder: 'Quick search...',
}}
>
<SearchBar bind:value={noChildrenValue} placeholder="Quick search..."> </SearchBar>
</Story> </Story>