How to get props type for a passed generic react component in typescript

后端 未结 0 991
[愿得一人]
[愿得一人] 2021-02-11 10:23

I have a generic function that takes a react component and returns it wrapped in another component, something similar to recompose pattern.

const inject = 

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