mui-simple
Version:
Override mui-v7 components to simplify usage
26 lines • 1.28 kB
TypeScript
import type { ComponentType, PropsWithChildren } from 'react';
import { ListItemIcon as MuiListItemIcon, ListItemText as MuiListItemText } from '@mui/material';
import type { BoxProps, MenuProps } from '@mui/material';
export declare const ContextMenuWrapper: any;
interface ManuWrapperStyledProps {
arrow?: boolean;
[key: string]: any;
}
type ManuWrapperStyledPropsType = ManuWrapperStyledProps & BoxProps & any;
export declare const MenuWrapper: ComponentType<ManuWrapperStyledPropsType>;
interface ManuStyledProps {
height?: string | number;
width?: string | number;
maxHeight?: string | number;
elevation?: number;
onClick?: (event: any) => void;
[key: string]: any;
}
type MenuStyledPropsType = PropsWithChildren<Omit<MenuProps, 'onClick'> & ManuStyledProps & any>;
export declare const Menu: ComponentType<MenuStyledPropsType>;
export declare const MenuList: import("@mui/material").ExtendList<import("@mui/material").MenuListTypeMap<{}, "ul">>;
export declare const MenuItem: import("@mui/material").ExtendButtonBase<import("@mui/material").MenuItemTypeMap<{}, "li">>;
export declare const ListItemIcon: typeof MuiListItemIcon;
export declare const ListItemText: typeof MuiListItemText;
export {};
//# sourceMappingURL=Menu.styled.d.ts.map