Using a forwardRef component with children in TypeScript

后端 未结 0 447
谎友^
谎友^ 2021-02-11 16:03

Using @types/react 16.8.2 and TypeScript 3.3.1.

I lifted this forward refs example straight from the React documentation and added a couple type parameters:



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