I want to use this library react-native-single-choice but in a simple class component. I am not using hooks so I am kind of not able to use in my class. Link to the documentation:
Asked
Active
Viewed 51 times
0
-
Which hook do you want to use in your class component? – Leri Gogsadze Dec 24 '20 at 12:32
-
No hook. basically, I need to know the format how I can write the same code(in the link) in a class component. – sver Dec 24 '20 at 13:10
-
You want to use `useState` hook? – Leri Gogsadze Dec 24 '20 at 13:22
-
No, I dont want to use that – sver Dec 24 '20 at 13:22