mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 09:31:47 +08:00
17 lines
350 B
Plaintext
17 lines
350 B
Plaintext
```md
|
|
{/* Checkbox.mdx */}
|
|
|
|
import { Canvas, Meta, Story } from '@storybook/blocks';
|
|
import * as CheckboxStories from './Checkbox.stories';
|
|
|
|
<Meta of={CheckboxStories} />
|
|
|
|
# Checkbox
|
|
|
|
With `MDX` we can compose Markdown documentation with `Checkbox` stories and interactive controls.
|
|
|
|
<Canvas>
|
|
<Story of={CheckboxStories.Unchecked} />
|
|
</Canvas>
|
|
```
|