React with TypeScript: get props from generic array of objects using a key's type

后端 未结 0 416
忘了有多久
忘了有多久 2020-11-22 06:28

I\'m trying to define a generic component that gets passed a list of objects containing two keys: component & props. I\'d like to infer the typ

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