Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed Nov 8, 2024
1 parent b864eb2 commit 6d88cf6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/Button.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
<!-- This is _tiny_ 🤏 -->
<Story name="Small" args={{ size: 'small' }} />

<Story name="Long content">
<Button onclick={onclickFn}>The very long content</Button>
<Story name="Long content">The very long content</Story>

<Story name="Custom template">
{#snippet template(args, context)}
<Button {...args}>🩷 Storybook</Button>
<Button {...args}>🧡 Svelte</Button>
{/snippet}
</Story>

0 comments on commit 6d88cf6

Please sign in to comment.