storybook/docs/snippets/react/button-story.mdx.mdx
2021-11-04 15:48:36 +00:00

16 lines
248 B
Plaintext

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