Fix proptype warning for id of EnhancedSelectInputOption

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

@ -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