How can I type a React.FC with non-optional `children`?

前端 未结 0 1448
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 16:53

When writing TypeScript (tsx) I usually type my React components using React.FC (Or React.FunctionComponent) where Prop

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