Checkbox
Basic usage
Disabled
Default checked
Call a function
Controlled example
Check Props API
checked
bool
Defaultfalse(
Boolean
):true
if the state should be checked,false
otherwise. This prop can be used to manage the Checkbox more directly, overriding the default Checkbox checked state.onChange
func
Default() => {}(
Boolean
):true
if the checkbox should be disabled,false
otherwiseinputRef
func
|shape
{current:}PropTypes.element
,function to be called when the checkbox changes state