Skip to content

Instantly share code, notes, and snippets.

@codewithbernard
Created July 27, 2021 16:00
Show Gist options
  • Save codewithbernard/758be44c7f13d0e5de81efdb7c49f4fe to your computer and use it in GitHub Desktop.
Save codewithbernard/758be44c7f13d0e5de81efdb7c49f4fe to your computer and use it in GitHub Desktop.
Person.propTypes = {
hobby: PropTypes.any,
male: PropTypes.bool,
age: PropTypes.number,
name: PropTypes.string,
secretTalent: PropTypes.func,
friends: PropTypes.array,
wallet: PropTypes.object,
skill: PropTypes.symbol,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment