UNPKG

794 BTypeScriptView Raw
1import * as React from "react";
2import { Omit, Sizes } from "react-bootstrap";
3
4declare namespace Popover {
5 export interface PopoverProps extends Omit<React.HTMLProps<Popover>, "title"> {
6 // Optional
7 arrowOffsetLeft?: number | string | undefined;
8 arrowOffsetTop?: number | string | undefined;
9 bsSize?: Sizes | undefined;
10 bsStyle?: string | undefined;
11 bsClass?: string | undefined;
12 placement?: string | undefined;
13 positionLeft?: number | string | undefined; // String support added since v0.30.0
14 positionTop?: number | string | undefined; // String support added since v0.30.0
15 title?: React.ReactNode | undefined;
16 }
17}
18declare class Popover extends React.Component<Popover.PopoverProps> {}
19export = Popover;