Checkbox / Radio
Preview

Code Sample
import { Checkbox } from '@dormakaba/digital-reactnative-visual';
<Checkbox
onPress={() => {}}
checked
label='halleluja'
/>
<Checkbox
asRadio
onPress={() => {}}
checked
label='halleluja'
/>
Props
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
boolean
render a radio instead of a checkbox
Last updated