Checkbox
Basic usage
Disabled
Default checked
Call a function
Controlled example
Check Props API
- checkedboolDefaultfalse( Boolean):trueif the state should be checked,falseotherwise. This prop can be used to manage the Checkbox more directly, overriding the default Checkbox checked state.
- onChangefuncDefault() => {}( Boolean):trueif the checkbox should be disabled,falseotherwise
- inputReffunc|shape{current:}PropTypes.element,function to be called when the checkbox changes state