check if proptypes is jsx in react code example
Example: how to make proptypes either or
size: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]),
size: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]),