mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
23 lines
449 B
Markdown
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} />
|
|
```
|
|
|