Fix proptype warning for id of EnhancedSelectInputOption

Signed-off-by: Robin Dadswell <robin@dadswell.email>
pull/770/head
Mark McDowall 5 years ago committed by Qstick
parent d33d27a55f
commit 16b2458903

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

Loading…
Cancel
Save