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

后端 未结 0 2004
不思量自难忘°
不思量自难忘° 2021-02-11 10:39

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

const inject = 

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