UNPKG

963 BTypeScriptView Raw
1import Menu from './Menu';
2import MenuItem from './MenuItem';
3import SubMenu from './SubMenu';
4import MenuItemGroup from './MenuItemGroup';
5import { useFullPath } from './context/PathContext';
6import Divider from './Divider';
7import type { MenuProps } from './Menu';
8import type { MenuItemProps } from './MenuItem';
9import type { SubMenuProps } from './SubMenu';
10import type { MenuItemGroupProps } from './MenuItemGroup';
11import type { MenuRef } from './interface';
12export { SubMenu, MenuItem as Item, MenuItem, MenuItemGroup, MenuItemGroup as ItemGroup, Divider,
13/** @private Only used for antd internal. Do not use in your production. */
14useFullPath, };
15export type { MenuProps, SubMenuProps, MenuItemProps, MenuItemGroupProps, MenuRef, };
16type MenuType = typeof Menu & {
17 Item: typeof MenuItem;
18 SubMenu: typeof SubMenu;
19 ItemGroup: typeof MenuItemGroup;
20 Divider: typeof Divider;
21};
22declare const ExportMenu: MenuType;
23export default ExportMenu;