diff --git a/src/Menu.tsx b/src/Menu.tsx index 887d5cee..0ed78727 100644 --- a/src/Menu.tsx +++ b/src/Menu.tsx @@ -133,6 +133,9 @@ export interface MenuProps subMenuItemProps: any, stateProps: { selected: boolean; + open: boolean; + active: boolean; + disabled: boolean; }, ) => React.ReactElement; } diff --git a/src/SubMenu/index.tsx b/src/SubMenu/index.tsx index 9549b2ba..06360b34 100644 --- a/src/SubMenu/index.tsx +++ b/src/SubMenu/index.tsx @@ -357,6 +357,9 @@ const InternalSubMenu = (props: SubMenuProps) => { if (_internalRenderSubMenuItem) { listNode = _internalRenderSubMenuItem(listNode, props, { selected: childrenSelected, + active: mergedActive, + open, + disabled: mergedDisabled, }); }