Fix proptype warning for id of EnhancedSelectInputOption

This commit is contained in:
Mark McDowall 2020-01-07 17:11:45 -08:00 committed by Qstick
parent cf6e993a4d
commit 822035056a
1 changed files with 1 additions and 1 deletions

View File

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