From f92d7647300060ec54b51b85a67e98d1f2b981f9 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Sun, 27 Mar 2022 15:49:06 +0800 Subject: [PATCH] chore: export MenuRef type (#443) --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 5d605026..31dba592 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,6 +4,7 @@ import SubMenu, { SubMenuProps } from './SubMenu'; import MenuItemGroup, { MenuItemGroupProps } from './MenuItemGroup'; import { useFullPath as useOriginFullPath } from './context/PathContext'; import Divider from './Divider'; +import { MenuRef } from './interface'; /** @private Only used for antd internal. Do not use in your production. */ const useFullPath = useOriginFullPath; @@ -20,6 +21,7 @@ export { MenuItemProps, MenuItemGroupProps, useFullPath, + MenuRef, }; type MenuType = typeof Menu & {