Created
July 27, 2021 16:02
-
-
Save codewithbernard/a80af7550add34ba3309a039210ba269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Person.propTypes = { | |
name: PropTypes.string.isRequired, | |
age: PropTypes.number.isRequired, | |
friends: PropTypes.arrayOf(PropTypes.string), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment