import React, { ReactNode } from "react"; import { CommonComponentProps } from "Types/common"; import { IconName } from "Icon"; import { PopoverPosition } from "@blueprintjs/core/lib/esnext/components/popover/popoverSharedProps"; export type MenuItemProps = CommonComponentProps & { icon?: IconName; text: string; label?: ReactNode; href?: string; type?: "warning"; ellipsize?: number; selected?: boolean; containerClassName?: string; onSelect?: (e: React.MouseEvent, ...rest: any) => void; tooltipPos?: PopoverPosition; }; declare const MenuItem: React.ForwardRefExoticComponent void) | undefined; tooltipPos?: PopoverPosition | undefined; } & React.RefAttributes>; export default MenuItem;