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

18 lines
283 B
Plaintext

```md
<!---Button.stories.mdx --->
import { Meta } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta
title="Button"
component={Button}
argTypes={{
variant: {
options: ['primary', 'secondary'],
control: { type: 'radio' }
}
}}
/>
```