UNPKG

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