Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f0f364

Browse files
authored
chore: revert incorrect prop name in Modal component (#4311)
1 parent 2e6a03c commit 1f0f364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export default class Modal extends React.Component<PropsWithChildren<ModalProps>
233233
animation={this.props.animation}
234234
getContainer={getContainer}
235235
prefixCls={prefixCls}
236-
className={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
236+
wrapClassName={cls({ [`${prefixCls}-centered`]: !!centered }, wrapClassName)}
237237
footer={footer === undefined ? defaultFooter : footer}
238238
visible={visible}
239239
mousePosition={mousePosition}

0 commit comments

Comments
 (0)