Skip to main content
Version: 1.0.160

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...