storybook/docs/snippets/svelte/button-story.js.mdx

14 lines
198 B
Plaintext

```js
// Button.stories.js
import Button from './Button.svelte';
export const Primary = () => ({
Component: Button,
props: {
primary: true,
label: 'Button',
},
});
```