Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 719 Bytes

1-Button.stories.mdx

File metadata and controls

34 lines (29 loc) · 719 Bytes

import { Meta, Story } from '@storybook/addon-docs/blocks'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import MyButton from './MyButton';

Button

This Button documentation defines two stories:

{{ components: { MyButton, }, template: 'Hello Button', methods: { action: action('clicked'), }, }} {{ components: { MyButton, }, template: '😀 😎 👍 💯', methods: { action: action('clicked'), }, }}