Last updated 6 years ago
import { Checkbox } from '@dormakaba/digital-reactnative-visual'; <Checkbox onPress={() => {}} checked label='halleluja' /> <Checkbox asRadio onPress={() => {}} checked label='halleluja' />
Name
Type
Description
checked
boolean
state checked
label
string
label to show beside the checkbox
onPress
function
triggered on press (you will need to toggle the checked state)
asRadio
render a radio instead of a checkbox