mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
21 lines
340 B
Plaintext
21 lines
340 B
Plaintext
```md
|
|
<!-- Button.stories.mdx -->
|
|
|
|
import { Meta, Story } from '@storybook/addon-docs';
|
|
|
|
import { Button } from './Button';
|
|
|
|
<Meta title="Button" component={Button} />
|
|
|
|
|
|
<Story
|
|
name="Large"
|
|
parameters={{
|
|
backgrounds: {
|
|
grid: {
|
|
disable: true,
|
|
}
|
|
}
|
|
}}
|
|
render={() => ({ // Your implementation here })} />
|
|
``` |