![React -TypeScript — How to add interface with functional component typed props beginner guide :) | by kirti kaushal | Medium React -TypeScript — How to add interface with functional component typed props beginner guide :) | by kirti kaushal | Medium](https://miro.medium.com/v2/resize:fit:1400/1*AWd5wVUBzMB5BTd_g8__fw.png)
React -TypeScript — How to add interface with functional component typed props beginner guide :) | by kirti kaushal | Medium
![Ben Ilegbodu 🏀👨🏾💻 on X: "Something that always comes up when I teach React + TypeScript is "interfaces vs type aliases" for props & other object type definitions 95%+* of the time Ben Ilegbodu 🏀👨🏾💻 on X: "Something that always comes up when I teach React + TypeScript is "interfaces vs type aliases" for props & other object type definitions 95%+* of the time](https://pbs.twimg.com/media/FEX5ix2VIAA3hSi.png)
Ben Ilegbodu 🏀👨🏾💻 on X: "Something that always comes up when I teach React + TypeScript is "interfaces vs type aliases" for props & other object type definitions 95%+* of the time
![Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum](https://global.discourse-cdn.com/business7/uploads/codewithmosh/original/2X/2/2c0e1122a4c0ba9d96ce84f285f7a7c5ed7ca9ef.png)
Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum
![Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum](https://global.discourse-cdn.com/business7/uploads/codewithmosh/optimized/2X/2/2c0e1122a4c0ba9d96ce84f285f7a7c5ed7ca9ef_2_690x306.png)