mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 04:31:06 +08:00
17 lines
217 B
Plaintext
17 lines
217 B
Plaintext
```md
|
|
<!---Button.stories.mdx --->
|
|
|
|
<Meta
|
|
title='Button'
|
|
component={Button}
|
|
argTypes={{
|
|
variant: {
|
|
control: {
|
|
type: 'radio',
|
|
options: ['primary', 'secondary']
|
|
}
|
|
}
|
|
}}
|
|
/>
|
|
```
|