<Checkbox/>
A component that includes a checkbox, and a label
Example
Coming soon...
Props
Option | Type | Description |
---|---|---|
name | string (required) | Checkbox label |
checked | boolean (required) | Checked state |
onChange | onChange: (value: boolean) => void (required) | onChange event |
customClasses | CustomClasses | checkbox custom classes |
Types
interface CustomClasses {
label?: string
text?: string
input?: string
checkBox?: string
}