We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d905d commit f1478dcCopy full SHA for f1478dc
1 file changed
src/IDialogPropTypes.tsx
@@ -16,7 +16,7 @@ export type IDialogPropTypes = {
16
mousePosition?: {
17
x: number;
18
y: number;
19
- };
+ } | null;
20
title?: ReactNode;
21
footer?: ReactNode;
22
transitionName?: string;
@@ -28,8 +28,8 @@ export type IDialogPropTypes = {
28
maskStyle?: Record<string, any>;
29
prefixCls?: string;
30
wrapClassName?: string;
31
- width?: number;
32
- height?: number;
+ width?: string | number;
+ height?: string | number;
33
zIndex?: number;
34
bodyProps?: any;
35
maskProps?: any;
@@ -41,4 +41,4 @@ export type IDialogPropTypes = {
41
// https://github.com/ant-design/ant-design/issues/19771
42
// https://github.com/react-component/dialog/issues/95
43
focusTriggerAfterClose?: boolean;
44
-}
+};
0 commit comments