What is the correct way to type a React component class that has no props?

前端 未结 0 413
半阙折子戏
半阙折子戏 2021-01-29 02:46

The top level component in a React project by definition won\'t have any props passed to it. What is the appropriate way to type this when using Typescript?

I\'ve been us

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