1 | // Declaring type of props - see "Typing Component Props" for more examples |
If your component is defined as a regular function with the function keyword, then you cannot use React.FunctionComponent keyword, because TypeScript does not support specify types for function declarations.
1 | interface AppProps { |