Fixed prop type warning on MenuItem

This commit is contained in:
Mark McDowall 2019-08-15 21:06:04 -07:00
parent 78ee6afbae
commit 0df464ac03
1 changed files with 1 additions and 1 deletions

View File

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