@types/react-bootstrap
Version:
TypeScript definitions for react-bootstrap
21 lines (19 loc) • 825 B
TypeScript
import * as React from 'react';
import { TransitionCallbacks } from 'react-bootstrap';
declare namespace Overlay {
export interface OverlayProps extends TransitionCallbacks {
children?: React.ReactNode;
// Optional
animation?: any; // TODO: Add more specific type
container?: any; // TODO: Add more specific type
containerPadding?: number | undefined; // TODO: Add more specific type
onHide?: Function | undefined;
placement?: 'top' | 'right' | 'bottom' | 'left' | undefined;
rootClose?: boolean | undefined;
show?: boolean | undefined;
target?: Function | React.ReactInstance | undefined;
shouldUpdatePosition?: boolean | undefined;
}
}
declare class Overlay extends React.Component<Overlay.OverlayProps> { }
export = Overlay;