oneOfType([ PropTypes.string, PropTypes.number ]), 了解更多:使用PropTypes ... PropTypes知道在propTypes验证中这可以是另一个吗? ... 2019-使用PropTypes.oneOf.
確定! 回上一頁