storybook/docs/snippets/react/button-story.mdx.mdx
2021-05-07 11:51:52 +08:00

16 lines
229 B
Plaintext

```md
<!-- Button.stories.mdx-->
import { Meta, Story } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta title="Button" />
# Button
<Story name="Primary">
<Button primary>Button</Button>
</Story>
```