UNPKG

871 BTypeScriptView Raw
1import * as React from 'react';
2import { OverlayArrowProps } from '@restart/ui/Overlay';
3import { Placement, PopperRef } from './types';
4import { BsPrefixProps } from './helpers';
5export interface PopoverProps extends React.HTMLAttributes<HTMLDivElement>, BsPrefixProps {
6 placement?: Placement;
7 title?: string;
8 arrowProps?: Partial<OverlayArrowProps>;
9 body?: boolean;
10 popper?: PopperRef;
11 show?: boolean;
12 hasDoneInitialMeasure?: boolean;
13}
14declare const _default: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>> & {
15 Header: import("./helpers").BsPrefixRefForwardingComponent<"div", import("./PopoverHeader").PopoverHeaderProps>;
16 Body: import("./helpers").BsPrefixRefForwardingComponent<"div", import("./PopoverBody").PopoverBodyProps>;
17 POPPER_OFFSET: readonly [0, 8];
18};
19export default _default;