type MuiMenuProps = import('@mui/material').MenuProps; type MenuOptionalProps = Pick & { getItemDisabled?: (key: string, value: T) => boolean; items?: Record; muiMenuProps?: Partial; onItemClick?: ( key: string, value: T, ...parent: Parameters ) => ReturnType; renderItem?: (key: string, value: T) => import('react').ReactNode; }; type MenuProps = MenuOptionalProps;