File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ const Dialog: React.FC<IDialogPropTypes> = (props) => {
4141 maskStyle,
4242 maskProps,
4343 rootClassName,
44+ rootStyle,
4445 classNames : modalClassNames ,
4546 styles : modalStyles ,
4647 } = props ;
@@ -175,6 +176,7 @@ const Dialog: React.FC<IDialogPropTypes> = (props) => {
175176 return (
176177 < div
177178 className = { classNames ( `${ prefixCls } -root` , rootClassName ) }
179+ style = { rootStyle }
178180 { ...pickAttrs ( props , { data : true } ) }
179181 >
180182 < Mask
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export type IDialogPropTypes = {
1111 className ?: string ;
1212 keyboard ?: boolean ;
1313 style ?: CSSProperties ;
14+ rootStyle ?: CSSProperties ;
1415 mask ?: boolean ;
1516 children ?: React . ReactNode ;
1617 afterClose ?: ( ) => any ;
You can’t perform that action at this time.
0 commit comments