TypeScript React.FC confusion
Thanks all for the answers. They are correct but I was looking for a more detailed version. I did some more research and found this on React+TypeScript Cheatsheets on GitHub. Function Components These can be written as normal functions that take a props argument and return a JSX element. type AppProps = { message: string … Read more