UNPKG

824 BTypeScriptView Raw
1import * as React from "react";
2import { TransitionCallbacks } from "react-bootstrap";
3
4declare namespace Overlay {
5 export interface OverlayProps extends TransitionCallbacks {
6 children?: React.ReactNode;
7 // Optional
8 animation?: any; // TODO: Add more specific type
9 container?: any; // TODO: Add more specific type
10 containerPadding?: number | undefined; // TODO: Add more specific type
11 onHide?: Function | undefined;
12 placement?: "top" | "right" | "bottom" | "left" | undefined;
13 rootClose?: boolean | undefined;
14 show?: boolean | undefined;
15 target?: Function | React.ReactInstance | undefined;
16 shouldUpdatePosition?: boolean | undefined;
17 }
18}
19declare class Overlay extends React.Component<Overlay.OverlayProps> {}
20export = Overlay;