Skip to content

Commit ba7256d

Browse files
author
zbw01218944
committed
refactor: optimize style type
1 parent acf2569 commit ba7256d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/IDialogPropTypes.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export type IDialogPropTypes = {
3737
maskTransitionName?: string;
3838
animation?: any;
3939
maskAnimation?: any;
40-
wrapStyle?: Record<string, any>;
41-
bodyStyle?: Record<string, any>;
42-
maskStyle?: Record<string, any>;
40+
wrapStyle?: CSSProperties;
41+
bodyStyle?: CSSProperties;
42+
maskStyle?: CSSProperties;
4343
prefixCls?: string;
4444
wrapClassName?: string;
4545
width?: string | number;

0 commit comments

Comments
 (0)