bereaksi propthpes atau

size: PropTypes.oneOfType([
  PropTypes.string,
  PropTypes.number
]),
Strange Sandpiper