Skip to content

Commit

Permalink
Make onSelect prop of menu-button required
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazy authored and ryanflorence committed Aug 31, 2018
1 parent c9783ce commit 08c4858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/menu-button/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ let MenuItem = React.forwardRef(
);

MenuItem.propTypes = {
onSelect: func
onSelect: func.isRequired
};

let k = () => {};
Expand Down

0 comments on commit 08c4858

Please sign in to comment.