import { PopoverProps as MuiPopoverProps } from '@material-ui/core'; import { ReactNode } from 'react'; type PopoverProps = { open: boolean; /** * A HTML element, or a function that returns it. It's used to set the position of the popover. */ anchorEl: HTMLElement | (() => HTMLElement); /** * The content of the component. */ children?: ReactNode; onClose?: () => void; /** * This is the point on the anchor where the popover's anchorEl will attach to. This is not used when the anchorReference is 'anchorPosition'.\nOptions: vertical: [top, center, bottom]; horizontal: [left, center, right]. * * @default { vertical: 'top', horizontal: 'left' } */ anchorOrigin?: { horizontal: 'center' | 'left' | 'right' | number; vertical: 'bottom' | 'center' | 'top' | number; }; /** * This is the point on the popover which will attach to the anchor's origin.\nOptions: vertical: [top, center, bottom, x(px)]; horizontal: [left, center, right, x(px)]. * * @default { vertical: 'top', horizontal: 'left' } */ transformOrigin?: { horizontal: 'center' | 'left' | 'right' | number; vertical: 'bottom' | 'center' | 'top' | number; }; } & Omit; export declare function Popover(props: PopoverProps): JSX.Element; export {}; //# sourceMappingURL=Popover.d.ts.map