mercredi 31 mai 2017

Make/ Create checkbox component in react native

I have been facing some issues with the native base checkbox and AsynStorage. In fact, AsynStorage only accepts strings by default BUT can store boolean variables also, I tried to use that method but I get a string stored every time. While the checkbox does only accept boolean variables and throws a warning if I tried to use a string and it does not show the previous state of the checkbox (checked or not ). So, I decided to make my own checkbox using TouchbleOpacity .. So do you guys have any idea how to make it ? Here is the result i want to achieve: enter image description here




Aucun commentaire:

Enregistrer un commentaire