Fix proptype warning for id of EnhancedSelectInputOption

pull/2/head
Mark McDowall 5 years ago committed by Qstick
parent cf6e993a4d
commit 822035056a

@ -63,7 +63,7 @@ class EnhancedSelectInputOption extends Component {
EnhancedSelectInputOption.propTypes = {
className: PropTypes.string.isRequired,
id: PropTypes.string.isRequired,
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
isSelected: PropTypes.bool.isRequired,
isDisabled: PropTypes.bool.isRequired,
isHidden: PropTypes.bool.isRequired,

Loading…
Cancel
Save