Skip to content

Commit f92d764

Browse files
authored
chore: export MenuRef type (#443)
1 parent a4613ab commit f92d764

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import SubMenu, { SubMenuProps } from './SubMenu';
44
import MenuItemGroup, { MenuItemGroupProps } from './MenuItemGroup';
55
import { useFullPath as useOriginFullPath } from './context/PathContext';
66
import Divider from './Divider';
7+
import { MenuRef } from './interface';
78

89
/** @private Only used for antd internal. Do not use in your production. */
910
const useFullPath = useOriginFullPath;
@@ -20,6 +21,7 @@ export {
2021
MenuItemProps,
2122
MenuItemGroupProps,
2223
useFullPath,
24+
MenuRef,
2325
};
2426

2527
type MenuType = typeof Menu & {

0 commit comments

Comments
 (0)