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.