Fix proptype warning for id of EnhancedSelectInputOption
This commit is contained in:
parent
c0a356261b
commit
bc0da03caf
|
@ -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…
Reference in New Issue