storybook/docs/snippets/common/button-story-controls-primary-variant.mdx.mdx
2021-08-09 19:19:01 +01:00

13 lines
183 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Story } from '@storybook/addon-docs';
<Story
name="Primary"
args={{
variant: 'primary',
}}>
{Template.bind({})}
</Story>
```