149k views
2 votes
How to use proptypes in react functional component

User Delis
by
5.8k points

1 Answer

3 votes

Answer:

React components use a special property named propTypes to set up type checking

Step-by-step explanation:

This is your answer.

User Byteseeker
by
4.6k points