1 | import { ReactNode, CSSProperties, SyntheticEvent } from 'react';
|
2 | import { GetContainer } from 'rc-util/lib/PortalWrapper';
|
3 | export interface IDialogPropTypes {
|
4 | className?: string;
|
5 | keyboard?: boolean;
|
6 | style?: CSSProperties;
|
7 | mask?: boolean;
|
8 | children?: any;
|
9 | afterClose?: () => any;
|
10 | onClose?: (e: SyntheticEvent) => any;
|
11 | closable?: boolean;
|
12 | maskClosable?: boolean;
|
13 | visible?: boolean;
|
14 | destroyOnClose?: boolean;
|
15 | mousePosition?: {
|
16 | x: number;
|
17 | y: number;
|
18 | };
|
19 | title?: ReactNode;
|
20 | footer?: ReactNode;
|
21 | transitionName?: string;
|
22 | maskTransitionName?: string;
|
23 | animation?: any;
|
24 | maskAnimation?: any;
|
25 | wrapStyle?: {};
|
26 | bodyStyle?: {};
|
27 | maskStyle?: {};
|
28 | prefixCls?: string;
|
29 | wrapClassName?: string;
|
30 | width?: number;
|
31 | height?: number;
|
32 | zIndex?: number;
|
33 | bodyProps?: any;
|
34 | maskProps?: any;
|
35 | wrapProps?: any;
|
36 | getContainer?: GetContainer | false;
|
37 | closeIcon?: ReactNode;
|
38 | modalRender?: (node: ReactNode) => ReactNode;
|
39 | forceRender?: boolean;
|
40 | focusTriggerAfterClose?: boolean;
|
41 | }
|