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

User Delis
by
7.6k 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
6.0k points