///
import type { MenuProps } from 'antd';
export interface PisellMenuProps extends Omit {
className?: string;
style?: React.CSSProperties;
mode?: 'vertical' | 'horizontal' | 'inline';
theme?: 'light' | 'dark';
defaultOpenKeys?: string[];
defaultSelectedKeys?: string[];
inlineCollapsed?: boolean;
openKeys?: string[];
selectedKeys?: string[];
onOpenChange?: (openKeys: string[]) => void;
dataSource?: any;
__designMode?: string;
other?: PisellMenuProps;
}
export interface MenuItemType {
key: string;
label: string;
path: string;
children?: MenuItemType[];
icon?: string | React.ReactNode;
hide?: boolean;
type?: 'group' | 'divider';
isGroup?: boolean;
}