storybook/docs/_snippets/storybook-auto-docs-starter-example.md
2024-06-13 17:53:08 +01:00

23 lines
449 B
Markdown

```mdx renderer="common" language="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} />
```