bagaimana membuat proptipe baik atau
size: PropTypes.oneOfType([
PropTypes.number,
PropTypes.oneOf([ 'SMALL', 'LARGE' ]),
]),
Outrageous Opossum
size: PropTypes.oneOfType([
PropTypes.number,
PropTypes.oneOf([ 'SMALL', 'LARGE' ]),
]),
size: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]),