storybook/docs/snippets/react/button-story-with-emojis.mdx.mdx
2022-03-15 19:04:57 +09:00

21 lines
445 B
Plaintext

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