2.0.4 • Published 9 days ago
@brighthr/component-checkbox v2.0.4
Checkbox
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-checkbox
To implement the Checkbox component into your project you’ll need to add the import:
import Checkbox from '@brighthr/component-checkbox';
After adding import into your project you can use it simply like:
<Checkbox />
Props
Name | Type | Default | Description |
---|---|---|---|
checkboxButton | boolean | false | If true , gives the checkbox a button appearance. |
checkboxButtonSize | 'sm' 'base' | 'base' | Sets the size of the button appearance if checkboxButton is true . |
checkboxPosition | 'left' 'right' | 'left' | Sets the position of the checkbox. |
checked | boolean | false | If true , the checkbox will show as selected. |
circularCheckbox | boolean | false | If true , the checkbox will be circular. |
description | string | Sets a description to show. | |
disabled | boolean | false | If true , disables the checkbox with a gray overlay. |
iconName | string | Sets the icon to display, no icon is displayed if left empty. | |
label | string | Sets the label. |
2.0.4
9 days ago
2.0.3
3 months ago
2.0.2
4 months ago
2.0.1
5 months ago
1.1.1
9 months ago
1.0.2
9 months ago
1.1.0
9 months ago
1.0.1
10 months ago
1.0.0
10 months ago
1.1.3
8 months ago
1.1.2
8 months ago
2.0.0
8 months ago
0.0.20
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.10
1 year ago
0.0.11
1 year ago
0.0.12
1 year ago
0.0.13
1 year ago
0.0.14
1 year ago
0.0.15
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.1
2 years ago
0.0.3
1 year ago
0.0.2
2 years ago
0.2.1
2 years ago
0.2.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago