What is the difference between App: React.FunctionComponent and App = (): React.FunctionComponent?

前端 未结 0 510
执笔经年
执笔经年 2020-11-27 18:46

Trying to understand typescript at the moment.

What is the difference between:

const App: React.FunctionComponent = (props: CustomPr         


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