storybook/docs/snippets/react/button-story.mdx.mdx
2020-08-14 21:46:15 +01: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>
```