Skip to content

Commit

Permalink
fix: Select selectedKeys type validation error [#597]
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 18, 2019
1 parent 5c7a79f commit bd29880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/menu/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const menuProps = {
theme: PropTypes.oneOf(['light', 'dark']).def('light'),
mode: MenuMode.def('vertical'),
selectable: PropTypes.bool,
selectedKeys: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
selectedKeys: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
defaultSelectedKeys: PropTypes.array,
openKeys: PropTypes.array,
defaultOpenKeys: PropTypes.array,
Expand Down

0 comments on commit bd29880

Please sign in to comment.