storybook/docs/snippets/common/button-story-controls-primary-variant.js.mdx
2021-02-13 13:21:47 +01:00

8 lines
109 B
Plaintext

```js
// Button.stories.js
const Primary = Template.bind({});
Primary.args = {
variant: 'primary',
};
```