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 486e0f1 commit 30c841fCopy full SHA for 30c841f
2 files changed
package.json
@@ -45,7 +45,7 @@
45
"@babel/runtime": "^7.11.2",
46
"@rc-component/portal": "^1.0.2",
47
"classnames": "^2.2.6",
48
- "rc-dialog": "~9.3.0",
+ "rc-dialog": "~9.3.4",
49
"rc-motion": "^2.6.2",
50
"rc-util": "^5.34.1"
51
},
src/Preview.tsx
@@ -370,7 +370,9 @@ const Preview: React.FC<PreviewProps> = props => {
370
prefixCls={prefixCls}
371
onClose={onClose}
372
visible={visible}
373
- wrapClassName={wrapClassName}
+ classNames={{
374
+ wrapper: wrapClassName,
375
+ }}
376
rootClassName={rootClassName}
377
getContainer={getContainer}
378
{...restProps}
0 commit comments