We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fde4d2c commit 5c30c11Copy full SHA for 5c30c11
1 file changed
src/SubMenu.js
@@ -22,7 +22,10 @@ export default class SubMenu extends AbstractMenu {
22
onMouseOut: PropTypes.func,
23
forceOpen: PropTypes.bool,
24
forceClose: PropTypes.func,
25
- parentKeyNavigationHandler: PropTypes.func
+ parentKeyNavigationHandler: PropTypes.func,
26
+ onClick: PropTypes.func,
27
+ data: PropTypes.object,
28
+ preventCloseOnClick: PropTypes.bool
29
};
30
31
static defaultProps = {
@@ -36,7 +39,10 @@ export default class SubMenu extends AbstractMenu {
36
39
onMouseOut: () => null,
37
40
forceOpen: false,
38
41
forceClose: () => null,
- parentKeyNavigationHandler: () => null
42
+ parentKeyNavigationHandler: () => null,
43
+ onClick: () => null,
44
+ data: {},
45
+ preventCloseOnClick: false
46
47
48
constructor(props) {
0 commit comments