TS React prop as a dynamic key in array of objects

前端 未结 0 1221
孤城傲影
孤城傲影 2020-12-03 16:34

I\'m passing a prop to a react component to act as dynamic key (property accessor) for the array of objects (passed as the other prop). Something like this:

c         


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