storybook/docs/snippets/react/button-story-with-emojis.mdx.mdx
2022-07-07 19:47:29 +01:00

22 lines
457 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 backgroundColor="#ff0" label="Button" />
</Story>
<Story name="Secondary">
<Button backgroundColor="#ff0" label="😄👍😍💯" />
</Story>
<Story name="Tertiary">
<Button backgroundColor="#ff0" label="📚📕📈🤓" />
</Story>
```