Skip to content

Commit

Permalink
remove <Template> when unnecessary in icon stories files
Browse files Browse the repository at this point in the history
  • Loading branch information
benkates committed Aug 29, 2024
1 parent 81710e1 commit 2ac2cfe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
8 changes: 3 additions & 5 deletions src/lib/Icons/IconClose.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
</script>

<script>
import { Story, Template } from "@storybook/addon-svelte-csf";
import { Story } from "@storybook/addon-svelte-csf";
</script>

<Template let:args>
<Story name="Default" let:args>
<IconClose {...args} />
</Template>

<Story name="Default" />
</Story>
8 changes: 3 additions & 5 deletions src/lib/Icons/IconMinus.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
</script>

<script>
import { Story, Template } from "@storybook/addon-svelte-csf";
import { Story } from "@storybook/addon-svelte-csf";
</script>

<Template let:args>
<Story name="Default" let:args>
<IconMinus {...args} />
</Template>

<Story name="Default" />
</Story>
8 changes: 3 additions & 5 deletions src/lib/Icons/IconRefresh.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
</script>

<script>
import { Story, Template } from "@storybook/addon-svelte-csf";
import { Story } from "@storybook/addon-svelte-csf";
</script>

<Template let:args>
<Story name="Default" let:args>
<IconRefresh {...args} />
</Template>

<Story name="Default" />
</Story>
8 changes: 3 additions & 5 deletions src/lib/Icons/IconSearch.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
</script>

<script>
import { Story, Template } from "@storybook/addon-svelte-csf";
import { Story } from "@storybook/addon-svelte-csf";
</script>

<Template let:args>
<Story name="Default" let:args>
<IconSearch {...args} />
</Template>

<Story name="Default" />
</Story>

0 comments on commit 2ac2cfe

Please sign in to comment.