onClick event change class name react js

前端 未结 0 1348
慢半拍i
慢半拍i 2020-12-16 17:20

I\'m trying to change the color of an element created from a map loop. How can I change just one of them by clicking on it? And how can I leave the colors as they are when I

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