diff --git a/components/modal/ConfirmDialog.tsx b/components/modal/ConfirmDialog.tsx index 461520893..a9e3b8624 100644 --- a/components/modal/ConfirmDialog.tsx +++ b/components/modal/ConfirmDialog.tsx @@ -16,6 +16,7 @@ const ConfirmDialog: FunctionalComponent = props => { onCancel, onOk, close, + closable = false, zIndex, afterClose, visible, @@ -83,6 +84,7 @@ const ConfirmDialog: FunctionalComponent = props => { keyboard={keyboard} centered={centered} getContainer={getContainer} + closable={closable} >
diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 3c50807c1..2136730f4 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -102,6 +102,7 @@ export interface ModalFuncProps { class?: string; visible?: boolean; title?: VNodeTypes; + closable?: boolean; content?: VNodeTypes; // TODO: find out exact types onOk?: (...args: any[]) => any;