1 | import * as React from 'react';
|
2 | import type { RenderFunction } from '../_util/getRenderPropValue';
|
3 | import type { AbstractTooltipProps } 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 Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<unknown>> & {
|
11 | _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
12 | };
|
13 | export default Popover;
|