DEV Community

Discussion on: How to use toggle outside of class component render and toggle inside variable reactjs?

Collapse
 
nikhilroy2 profile image
Nikhil Chandra Roy

I think, you do not understand properly. now think, I want to make a chat and then send the message then I want to set the delete option or any other button, toggle but without any sending SMS I don't want to toggle. only specific SMS toggle should work so that I can add delete, toggle, edit, copy etc button.