Checkbox
Import
import { Checkbox } from '@resultadosdigitais/tangram-components'
Properties
Note: we don't use the required
props of context for checkbox, once it is applied can be a trouble for multiples elements.
It must be controlled outside.
checked
defaultChecked
disabled
id
indeterminate
error
label
onChange
Type | func |
---|---|
Default | () => {} |
Param | event React.SyntheticEvent - The event source of the callback. |
Param | newStatus boolean - The new status about if is checked. |
Description
Callback fired when the pagination changes.