1 | import * as React from 'react';
|
2 | import type { RenderFunction } from '../_util/getRenderPropValue';
|
3 | import type { AbstractTooltipProps, TooltipRef } from '../tooltip';
|
4 | import PurePanel from './PurePanel';
|
5 | export interface PopoverProps extends AbstractTooltipProps {
|
6 | title?: React.ReactNode | RenderFunction;
|
7 | content?: React.ReactNode | RenderFunction;
|
8 | onOpenChange?: (open: boolean, e?: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
9 | }
|
10 | declare const InternalPopover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<TooltipRef>>;
|
11 | type CompoundedComponent = typeof InternalPopover & {
|
12 | _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
13 | };
|
14 | declare const Popover: CompoundedComponent;
|
15 | export default Popover;
|