Checkbox
Examples
Checkbox Props
The Checkbox component accepts the following props.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| className | string | '' | Additional classes added to the Checkbox. | |
| isValid | bool | true | Flag to show if the Checkbox selection is valid or invalid. | |
| isDisabled | bool | false | Flag to show if the Checkbox is disabled. | |
| isChecked | bool | null | Flag to show if the Checkbox is checked. | |
| onChange | func | () => undefined | A callback for when the Checkbox selection changes. | |
| label | string | node | undefined | Label text of the checkbox. | |
| id | string | Id of the checkbox. | ||
| aria-label | any | Aria-label of the checkbox. |