CheckboxProps
CheckboxProps:
object
Type declaration
Name | Type | Description |
---|---|---|
disabled | boolean | If true , the component is disabled. Default false |
error | object | An error message to display below the element when in an invalid state. |
error.message | string | - |
helpText | React.ReactNode | Explanatory text to render below the element. |
label | string | A user-friendly label displayed alongside the element. |
name | string | A unique name identifying the element within a form. |
required | boolean | When true , the element will be invalid when touched and unchecked. Default false |
value | boolean | A boolean indicating whether the element is in a selected state. Default false |