Checkbox / Radio
Preview
Code Sample
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