Fixed prop type warning on MenuItem
This commit is contained in:
parent
78ee6afbae
commit
0df464ac03
|
@ -35,7 +35,7 @@ class MenuItem extends Component {
|
|||
MenuItem.propTypes = {
|
||||
className: PropTypes.string,
|
||||
children: PropTypes.node.isRequired,
|
||||
isDisabled: PropTypes.node.isRequired
|
||||
isDisabled: PropTypes.bool.isRequired
|
||||
};
|
||||
|
||||
MenuItem.defaultProps = {
|
||||
|
|
Loading…
Reference in New Issue