storybook/docs/snippets/react/button-story.mdx.mdx
2020-10-07 12:23:34 +08:00

15 lines
235 B
Plaintext

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