Typescript React: Access component property types

前端 未结 0 1318
有刺的猬
有刺的猬 2020-12-23 00:30

npm package @types/react allows us to use React inside of our TypeScript apps. We define components as

type Props = {...}

type State = {...}

e         


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