storybook/docs/snippets/common/button-story-action-event-handle.mdx.mdx
2021-10-12 19:10:23 +01:00

16 lines
256 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta
title="Button"
parameters={{
actions: {
handles: ['mouseover', 'click .btn'],
},
}}
component={Button}/>
```