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

17 lines
241 B
Plaintext

```html
<!-- Button.stories.svelte -->
<script>
import { Meta } from '@storybook/addon-svelte-csf';
import Button from './Button.svelte';
</script>
<Meta
title="Button"
component={Button}
args={{
primary: true,
}}
/>
```