File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const ConfirmDialog: FunctionalComponent<ConfirmDialogProps> = props => {
1616 onCancel,
1717 onOk,
1818 close,
19+ closable = false ,
1920 zIndex,
2021 afterClose,
2122 visible,
@@ -83,6 +84,7 @@ const ConfirmDialog: FunctionalComponent<ConfirmDialogProps> = props => {
8384 keyboard = { keyboard }
8485 centered = { centered }
8586 getContainer = { getContainer }
87+ closable = { closable }
8688 >
8789 < div class = { `${ contentPrefixCls } -body-wrapper` } >
8890 < div class = { `${ contentPrefixCls } -body` } >
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ export interface ModalFuncProps {
102102 class ?: string ;
103103 visible ?: boolean ;
104104 title ?: VNodeTypes ;
105+ closable ?: boolean ;
105106 content ?: VNodeTypes ;
106107 // TODO: find out exact types
107108 onOk ?: ( ...args : any [ ] ) => any ;
You can’t perform that action at this time.
0 commit comments