-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42b5480
commit 02ca676
Showing
2 changed files
with
55 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { | ||
Meta, | ||
Story, | ||
Canvas, | ||
Primary, | ||
Controls, | ||
Unstyled, | ||
Source, | ||
} from '@storybook/blocks'; | ||
import { Checkbox } from '../../src/lib/components/checkbox/Checkbox.component'; | ||
|
||
import * as CheckboxStories from './checkbox.stories'; | ||
|
||
<Meta of={CheckboxStories} name="Guideline" /> | ||
|
||
# Checkbox | ||
|
||
Checkboxes are used to select one or multiple options in a list. | ||
|
||
## Size & style | ||
|
||
### Style | ||
|
||
### Padding | ||
|
||
### Checkbox spacing | ||
|
||
## Usage | ||
|
||
<Canvas of={CheckboxStories.DefaultCheckbox} layout="fullscreen" /> | ||
|
||
## State Variations | ||
|
||
### Checked State | ||
|
||
<Canvas of={CheckboxStories.CheckedCheckbox} layout="fullscreen" /> | ||
|
||
### Disabled state | ||
|
||
<Canvas | ||
of={CheckboxStories.DisabledCheckboxes} | ||
|
||
layout="fullscreen" | ||
/> | ||
|
||
### Indeterminate State | ||
|
||
Usecase ? | ||
|
||
<Canvas of={CheckboxStories.IndeterminateCheckbox} layout="fullscreen" /> | ||
|
||
### Playground | ||
|
||
<Canvas of={CheckboxStories.Playground} layout="fullscreen" /> | ||
<Controls of={CheckboxStories.Playground} /> |