ReactJS - How to add a star/unstar feature to a list?

后端 未结 0 1988
不知归路
不知归路 2020-11-27 14:15

In react app, I am trying to add star/unstar feature for a list.

const result = [
  {id: 0, important: false, name: "Shruthi R", phone: "983423         


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