Using `addEventListener` to add click event to icon within React component

后端 未结 0 706
失恋的感觉
失恋的感觉 2021-01-21 22:44

I am trying to add an event listener to an icon in my React app, so that I can fire a function upon click of the icon. So far, while I can see based on my console.log that the c

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