storybook/docs/snippets/react/button-story.mdx.mdx
2021-02-23 00:26:03 +00: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>
```