storybook/docs/snippets/common/storybook-auto-docs-starter-example.mdx.mdx
2022-12-15 20:07:37 +00:00

22 lines
415 B
Plaintext

```mdx
{/* Button.mdx */}
import { Meta, Story } from '@storybook/blocks';
import * as ButtonStories from './Button.stories';
<Meta of={ButtonStories} />
# Button
Button is a clickable interactive element that triggers a response.
You can place text and icons inside of a button.
Buttons are often used for form submissions and to toggle elements into view.
## Usage
<Story of={ButtonStories.Basic} />
```