storybook/docs/snippets/svelte/button-story.mdx.mdx
2021-05-07 18:07:39 +01:00

20 lines
289 B
Plaintext

```md
<!-- Button.stories.mdx-->
import { Meta, Story } from '@storybook/addon-docs';
import Button from './Button.svelte';
<Meta title="Button" component={Button}/>
# Button
<Story name="Primary">
{{
props: {
primary: true,
label: 'Button',
},
}}
</Story>
```