Checkbox
Basic usage
Disabled
Default checked
Call a function
Controlled example
Check Props API
- checked
boolDefaultfalse(
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. - onChange
funcDefault() => {}(
Boolean):trueif the checkbox should be disabled,falseotherwise - inputRef
func|shape{current:}PropTypes.element,function to be called when the checkbox changes state