storybook/docs/snippets/common/button-story-controls-radio-group.js.mdx

15 lines
205 B
Plaintext

```js
// Button.stories.js
export default {
title: 'Button',
component: Button,
argTypes: {
variant: {
options: ['primary', 'secondary'],
control: { type: 'radio' }
}
}
};
```