UNPKG

787 BTypeScriptView Raw
1import * as React from "react";
2import { Sizes } from "react-bootstrap";
3
4declare namespace ModalDialog {
5 export interface ModalDialogProps extends React.HTMLProps<ModalDialog> {
6 // TODO: these props are not correct https://github.com/react-bootstrap/react-bootstrap/blob/v0.31.1/src/ModalDialog.js#L9
7 onHide?: Function | undefined;
8 onEnter?: Function | undefined;
9 onEntered?: Function | undefined;
10 onEntering?: Function | undefined;
11 onExit?: Function | undefined;
12 onExited?: Function | undefined;
13 onExiting?: Function | undefined;
14 bsSize?: Sizes | undefined;
15 bsClass?: string | undefined;
16 }
17}
18declare class ModalDialog extends React.Component<ModalDialog.ModalDialogProps> {}
19export = ModalDialog;