Lesson 27 of 56
TypescriptTypeScript with React – JSX Typing
25 minutes
Course progress48%
Create a React + TS project
npx create-react-app my-app --template typescript
Functional Component Props
type GreetingProps = { name: string; age?: number };
const Greeting: .<> = (
);