storybook/docs/snippets/svelte/button-story.mdx.mdx
2021-05-06 17:36:21 +01:00

21 lines
297 B
Plaintext

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