mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix prefixCls is missing in restProps
This commit is contained in:
parent
ef31697d26
commit
45e9b2a937
@ -195,6 +195,7 @@ export default class Modal extends React.Component<ModalProps, {}> {
|
||||
return (
|
||||
<Dialog
|
||||
{...restProps}
|
||||
prefixCls={prefixCls}
|
||||
className={classNames({ [`${prefixCls}-centered`]: centered }, className)}
|
||||
footer={footer === undefined ? defaultFooter : footer}
|
||||
visible={visible}
|
||||
|
Loading…
Reference in New Issue
Block a user