How to change button color depending on array element in reactjs

后端 未结 0 563
猫巷女王i
猫巷女王i 2020-11-28 11:16

Say I have two arrays like this:

   state = {
      firstArr: [\'one\', \'two\', \'three\', \'four\', \'five\'],
      secondArr: [\'one\', \'three\', \'four\         


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