Skip to content

Tag: event-handling

Im trying to add an onClick function on the button so if the user clicks Yes, it removes the two buttons then add two new inputs field react js

this is the first code with the buttons elements while this is where the button component is called and rendered, i think this is where the logic will happen export default RightBody; again what I want to do is that onClick of the yes button, I want to display two input fields instead of the two buttons origi…