Check if my React array contains value if yes return certain component

后端 未结 0 1004
走了就别回头了
走了就别回头了 2021-01-15 02:53

I have to render different components based on:

  • if the items contain a certain value
  • and if all 10 items have that value
const My         


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