CheckboxProps Interface
Properties for Checkbox React component
Extends
- object
- CommonProps
Properties
Name | Type | Description | |
---|---|---|---|
inputClassName | undefined | string | Custom CSS class name for the checkbox input element | |
inputStyle | undefined | React.CSSProperties | Custom CSS Style for the checkbox input element | |
label | undefined | string | Text that will be shown next to the checkbox. | |
labelClassName | undefined | string | Custom CSS class name for the label element | |
labelStyle | undefined | React.CSSProperties | Custom CSS Style for the label element | |
onClick | undefined | (e: MouseEvent) => void | Event called when checkbox is clicked on. | |
setFocus | undefined | false | true | Indicates whether the checkbox should set focus | |
status | undefined | InputStatus | Input status like: "Success", "Warning" or "Error" |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
className | undefined | string | ClassNameProps | Custom CSS class name |
style | undefined | React.CSSProperties | CommonProps | Custom CSS style properties |
Defined in
Last Updated: 08 January, 2020