storybook/docs/snippets/svelte/button-story-with-emojis.native-format.mdx
2021-11-09 01:41:54 +00:00

21 lines
438 B
Plaintext

```html
<script>
import { Meta, Story } from '@storybook/addon-svelte-csf';
import Button from './Button.svelte';
</script>
<Meta title="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>
```