in this case you would need to write your own special PropTypes function which react provides you to do. const TWO_NUMBERS = function(props, propName, ...
確定! 回上一頁