mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:21:48 +08:00
20 lines
402 B
Plaintext
20 lines
402 B
Plaintext
```mdx
|
|
{/* Checkbox.mdx */}
|
|
|
|
import { Canvas, Meta, Story } from '@storybook/blocks';
|
|
|
|
import * as CheckboxStories from './Checkbox.stories';
|
|
|
|
<Meta of={CheckboxStories} />
|
|
|
|
# Checkbox
|
|
|
|
A checkbox is a square box that can be activated or deactivated when ticked.
|
|
|
|
Use checkboxes to select one or more options from a list of choices.
|
|
|
|
<Canvas>
|
|
<Story of={CheckboxStories.Unchecked} />
|
|
</Canvas>
|
|
````
|