storybook/docs/snippets/vue/button-story-with-emojis.js.mdx
2020-09-15 23:02:08 +02:00

21 lines
498 B
Plaintext

```js
// Button.stories.js
import Button from './Button';
export default { title: 'Components/Button' };
export const Primary = () => ({
components: { Button },
template: '<Button background="#ff0" label="Button" />',
});
export const Secondary = () => ({
components: { Button },
template: '<Button background="#ff0" label="😄👍😍💯" />',
});
export const Tertiary = () => ({
components: { Button },
template: '<Button background="#ff0" label="📚📕📈🤓" />',
});
```