antd
Version:
An enterprise-class UI design language and React components implementation
15 lines (14 loc) • 631 B
TypeScript
import * as React from 'react';
import type { AbstractTooltipProps } from '../tooltip';
import type { RenderFunction } from '../_util/getRenderPropValue';
import PurePanel from './PurePanel';
export interface PopoverProps extends AbstractTooltipProps {
title?: React.ReactNode | RenderFunction;
content?: React.ReactNode | RenderFunction;
/** @private Used For Popconfirm. Safe to remove. */
_overlay?: React.ReactNode;
}
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<unknown>> & {
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
};
export default Popover;