DEV Community

loading...

Discussion on: Create your own radio button component in react native easily

Collapse
saadbashar profile image
Saad Author

Hi, good question. You can do it easily by checking if the value is already selected, if it is already selected then make the value state null. I have updated the snack, You can also check the image.