File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export type IDialogPropTypes = {
1616 mousePosition ?: {
1717 x : number ;
1818 y : number ;
19- } ;
19+ } | null ;
2020 title ?: ReactNode ;
2121 footer ?: ReactNode ;
2222 transitionName ?: string ;
@@ -28,8 +28,8 @@ export type IDialogPropTypes = {
2828 maskStyle ?: Record < string , any > ;
2929 prefixCls ?: string ;
3030 wrapClassName ?: string ;
31- width ?: number ;
32- height ?: number ;
31+ width ?: string | number ;
32+ height ?: string | number ;
3333 zIndex ?: number ;
3434 bodyProps ?: any ;
3535 maskProps ?: any ;
@@ -41,4 +41,4 @@ export type IDialogPropTypes = {
4141 // https://github.com/ant-design/ant-design/issues/19771
4242 // https://github.com/react-component/dialog/issues/95
4343 focusTriggerAfterClose ?: boolean ;
44- }
44+ } ;
You can’t perform that action at this time.
0 commit comments