react typescript type of component code example
Example 1: react tsx component example
import React from 'react';
interface Props {
}
const App: React.FC<Props> = (props) => {
return (
<div><div/>
);
};
export default App;
Example 2: typescript cheat sheet
// cheatsheets for typescript
https://devhints.io/typescript