Skip to content

Commit

Permalink
fix ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jul 26, 2021
1 parent 42d905d commit f1478dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/IDialogPropTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type IDialogPropTypes = {
mousePosition?: {
x: number;
y: number;
};
} | null;
title?: ReactNode;
footer?: ReactNode;
transitionName?: string;
Expand All @@ -28,8 +28,8 @@ export type IDialogPropTypes = {
maskStyle?: Record<string, any>;
prefixCls?: string;
wrapClassName?: string;
width?: number;
height?: number;
width?: string | number;
height?: string | number;
zIndex?: number;
bodyProps?: any;
maskProps?: any;
Expand All @@ -41,4 +41,4 @@ export type IDialogPropTypes = {
// https://github.com/ant-design/ant-design/issues/19771
// https://github.com/react-component/dialog/issues/95
focusTriggerAfterClose?: boolean;
}
};

0 comments on commit f1478dc

Please sign in to comment.