UNPKG

740 BTypeScriptView Raw
1import React from 'react';
2import IDialogPropTypes from './IDialogPropTypes';
3declare function noop(): void;
4export default class DialogWrap extends React.Component<IDialogPropTypes, any> {
5 static defaultProps: {
6 visible: boolean;
7 prefixCls: string;
8 onClose: typeof noop;
9 };
10 _component: any;
11 container: any;
12 componentDidMount(): void;
13 shouldComponentUpdate({ visible }: {
14 visible: any;
15 }): boolean;
16 componentWillUnmount(): void;
17 componentDidUpdate(): void;
18 saveRef: (node: any) => void;
19 getComponent: (visible: any) => JSX.Element;
20 removeContainer: () => void;
21 getContainer: () => any;
22 renderDialog(visible: any): void;
23 render(): any;
24}
25export {};