Declaring Generics in React Typescript Function Component

前端 未结 0 1597
暖寄归人
暖寄归人 2021-01-13 02:45

I am working on a TypeScript React component whose props also take a generic type, so I declare the React component as

export interface MyCompProps {         


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