2.0.6 • Published 1 year ago
@brighthr/component-checkbox v2.0.6
Checkbox
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-checkboxTo 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.6
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
2.0.0
2 years ago
0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.16
3 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.12
3 years ago
0.0.13
3 years ago
0.0.14
3 years ago
0.0.15
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.1
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.2.1
4 years ago
0.2.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago