import { MenuTheme, PureSettings } from "../pure-settings"; import { MenuDataItem, MessageDescriptor, Route, RouterTypes, WithFalse } from "../typings"; import { MenuProps } from "./menu"; export type MenuMode = 'vertical' | 'horizontal' | 'inline'; export interface BaseMenuProps extends Partial>, Omit, Partial { className?: string; /** * Whether the default is expanded, it will be affected by BreakPoint */ defaultCollapsed?: boolean; collapsed?: boolean; splitMenus?: boolean; isMobile?: boolean; menuData?: MenuDataItem[]; mode?: MenuMode; onCollapse?: (collapsed: boolean) => void; openKeys?: WithFalse | undefined; handleOpenChange?: (openKeys: string[]) => void; /** * To give the version of the props, refer to the properties of the ANTD-MENU. Https: //ant.design/components/menu-cn/ */ menuProps?: MenuProps; style?: React.CSSProperties; theme?: MenuTheme; params?: any; formatMessage?: (message: MessageDescriptor) => string; subMenuItemRender?: WithFalse<(item: MenuDataItem & { isUrl: boolean; }, defaultDom: React.ReactNode) => React.ReactNode>; menuItemRender?: WithFalse<(item: MenuDataItem & { isUrl: boolean; }, defaultDom: React.ReactNode) => React.ReactNode>; postMenuData?: (menusData?: MenuDataItem[]) => MenuDataItem[]; } //# sourceMappingURL=base-menu.d.ts.map