import React from 'react'; import { Options, OptionsGeneric } from '@popperjs/core'; import { OutsideClickProps } from '../OutsideClick'; import { PortalOwnProps } from '../Portal'; export type PopperOwnProps = { children?: React.ReactNode | (() => React.ReactNode); anchorEl?: Element | null; onClose?: () => void; placement?: Options['placement']; popperOptions?: Partial>; disableOutsideClick?: boolean; outsideClickEvent?: OutsideClickProps['mouseEvent']; disablePortal?: boolean; mountContainer?: PortalOwnProps['mountContainer']; }; export type PopperProps = PopperOwnProps & React.HTMLAttributes; /** * A Popper can be used to display some content on top of another. */ declare const Popper: React.ForwardRefExoticComponent & React.RefAttributes>; export default Popper;