react read proptypes from component sorce file code example
Example: react propthpes or
size: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]),
size: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]),