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.