I have a toggle example that I have done with Jquery before. Now I want to do it with react, but I don\'t know how.
I\'m putting my Jquery code and React design code