![Typescript) I'm trying to pass a state and two simple functions down to a child component. What am I doing wrong? Im getting an error message ts(2322). Please help me out. Im Typescript) I'm trying to pass a state and two simple functions down to a child component. What am I doing wrong? Im getting an error message ts(2322). Please help me out. Im](https://preview.redd.it/mx8ecx3o71i81.jpg?width=458&format=pjpg&auto=webp&s=9ed138181066ab2a990bbb281cc978c4bae2b21e)
Typescript) I'm trying to pass a state and two simple functions down to a child component. What am I doing wrong? Im getting an error message ts(2322). Please help me out. Im
![React: Smart component API with conditional props and TypeScript – Web Development Tutorials - Iskander Samatov React: Smart component API with conditional props and TypeScript – Web Development Tutorials - Iskander Samatov](https://isamatov.com/images/conditional-props-react-typescript/union%20types%20avatar.png)
React: Smart component API with conditional props and TypeScript – Web Development Tutorials - Iskander Samatov
GitHub - Winner95/typescript-react-function-component-props-handler: Custom react function component props handler for react-docgen. It allows you to parse props, which are typed as React.functionComponent<props> without rewriting your code
![React -TypeScript — How to add interface with functional component typed props beginner guide :) | by Kirti K | Geek Culture | Medium React -TypeScript — How to add interface with functional component typed props beginner guide :) | by Kirti K | Geek Culture | Medium](https://miro.medium.com/v2/resize:fit:1400/1*AWd5wVUBzMB5BTd_g8__fw.png)