UNPKG

@types/react-bootstrap

Version:
21 lines (19 loc) 825 B
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;