diff --git a/components/select/index.jsx b/components/select/index.jsx index 0036f2230..26b779062 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -30,15 +30,16 @@ const AbstractSelectProps = { showArrow: PropTypes.bool, } const Value = PropTypes.shape({ - key: String, + key: PropTypes.string, }).loose const SelectValue = PropTypes.oneOfType([ PropTypes.string, - + PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([ Value, - String, + PropTypes.string, + PropTypes.number, ])), Value, ])