Thanks to visit codestin.com Credit goes to github.com
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 2e6a03c commit 1f0f364Copy full SHA for 1f0f364
packages/components/src/modal/Modal.tsx
@@ -233,7 +233,7 @@ export default class Modal extends React.Component<PropsWithChildren<ModalProps>
233
animation={this.props.animation}
234
getContainer={getContainer}
235
prefixCls={prefixCls}
236
- className={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
+ wrapClassName={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
237
footer={footer === undefined ? defaultFooter : footer}
238
visible={visible}
239
mousePosition={mousePosition}
0 commit comments