I am needing to change the tick color to black when it is TRUE. which by default is white. I am importing my checkbox from expo-checkbox, I do not know what I would be doing wrong or if there is any property to change the color of it
<CheckBox
disabled={false}
checkboxDefaultColor="transparent"
value={rememberMe}
onValueChange={()=>setRememberMe(!rememberMe)}
color={rememberMe ? {"checkboxDefaultColor": "transparent", "color": "#000"} : undefined}
style={styles.checkbox}
/>
Aucun commentaire:
Enregistrer un commentaire