mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
parent
972d280aa1
commit
9052af449b
@ -31,6 +31,7 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
|
||||
direction,
|
||||
prefixCls,
|
||||
rootPrefixCls,
|
||||
modalRender,
|
||||
} = props;
|
||||
|
||||
devWarning(
|
||||
@ -93,6 +94,7 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
|
||||
keyboard={keyboard}
|
||||
centered={centered}
|
||||
getContainer={getContainer}
|
||||
modalRender={modalRender}
|
||||
>
|
||||
<div className={`${contentPrefixCls}-body-wrapper`}>
|
||||
<div className={`${contentPrefixCls}-body`}>
|
||||
|
@ -80,6 +80,7 @@ export interface ModalProps {
|
||||
wrapProps?: any;
|
||||
prefixCls?: string;
|
||||
closeIcon?: React.ReactNode;
|
||||
modalRender?: (node: React.ReactNode) => React.ReactNode;
|
||||
}
|
||||
|
||||
type getContainerFunc = () => HTMLElement;
|
||||
@ -114,6 +115,7 @@ export interface ModalFuncProps {
|
||||
transitionName?: string;
|
||||
maskTransitionName?: string;
|
||||
direction?: string;
|
||||
modalRender?: (node: React.ReactNode) => React.ReactNode;
|
||||
}
|
||||
|
||||
export interface ModalLocale {
|
||||
|
Loading…
Reference in New Issue
Block a user