Yes. Avoid `React.FC`: its implicit children and extra typing behavior are less explicit. Define an `interface Props` and a plain function instead: ```tsx interface Props { title: string; children?: React.ReactNode; } function Component({ title, children }: Props): JSX.Element { return <section>{title}{children}</section>; } ```
Installs into .claude/skills of the current project.
Are you the author of React Typescript?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-react-typescript-10e18663)
Yes. Avoid `React.FC`: its implicit children and extra typing behavior are less explicit. Define an `interface Props` and a plain function instead:
```tsx
interface Props { title: string; children?: React.ReactNode; }
function Component({ title, children }: Props): JSX.Element { return <section>{title}{children}</section>; }
```