storybook/docs/snippets/react/button-story-with-emojis.mdx.mdx
2021-08-09 19:19:01 +01:00

25 lines
448 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Meta, Story } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta title="Components/Button" component={Button}/>
<Story
name="Primary">
<Button background="#ff0" label="Button" />
</Story>
<Story
name="Secondary">
<Button background="#ff0" label="😄👍😍💯" />
</Story>
<Story
name="Tertiary">
<Button background="#ff0" label="📚📕📈🤓" />
</Story>
```