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