Checkboxes allow the user to select one or more items from a set.
import { Checkbox } from '../components'<Checkboxstatus={'checked'}onPress={(state) => !state}color={colors.primary}/>
CheckBoxes can be checked or disabled.
import { Checkbox } from '../components'<Checkboxstatus={'unchecked'}onPress={(state) => !state}color={colors.primary}disabled/>
Name | Type | Description |
status |
| Can be |
onPress |
| Called when checkbox should switch it's value. |
color |
| Changes a color of the checkbox. |
disabled |
| Makes the checkbox disabled. |