Skip to main content
Version: Next

Checkbox

const checkbox = {
name:'checkbox',
component: NANO.CHECKBOX,
value: true,
props: {
size: 25,
color: 'black',
style: {},
uncheckedColor: 'red',
},
onPress:({getUi, setUi}) => {
const checkBoxObj = getUi("checkbox")
checkBoxObj.value = !checkBoxObj.value
setUi("checkbox", checkBoxObj)
}
};

Checkbox example

Loading...