How to efficiently toggle classes with multiple HTML elements across multiple files

后端 未结 0 1704
野性不改
野性不改 2021-02-18 13:40

I am toggling an arrow image whenever my div is clicked. I am controlling the state of the click with

const [toggleArrow, setToggleArrow] = useState(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题