Skip to content

Commit

Permalink
feat: wrapClassName => classNames.wrapper (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang authored Oct 31, 2023
1 parent 486e0f1 commit 30c841f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@babel/runtime": "^7.11.2",
"@rc-component/portal": "^1.0.2",
"classnames": "^2.2.6",
"rc-dialog": "~9.3.0",
"rc-dialog": "~9.3.4",
"rc-motion": "^2.6.2",
"rc-util": "^5.34.1"
},
Expand Down
4 changes: 3 additions & 1 deletion src/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ const Preview: React.FC<PreviewProps> = props => {
prefixCls={prefixCls}
onClose={onClose}
visible={visible}
wrapClassName={wrapClassName}
classNames={{
wrapper: wrapClassName,
}}
rootClassName={rootClassName}
getContainer={getContainer}
{...restProps}
Expand Down

1 comment on commit 30c841f

@vercel
Copy link

@vercel vercel bot commented on 30c841f Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.