parent
e30077dd83
commit
73c71e19a2
|
@ -16,6 +16,7 @@ const ConfirmDialog: FunctionalComponent<ConfirmDialogProps> = props => {
|
||||||
onCancel,
|
onCancel,
|
||||||
onOk,
|
onOk,
|
||||||
close,
|
close,
|
||||||
|
closable = false,
|
||||||
zIndex,
|
zIndex,
|
||||||
afterClose,
|
afterClose,
|
||||||
visible,
|
visible,
|
||||||
|
@ -83,6 +84,7 @@ const ConfirmDialog: FunctionalComponent<ConfirmDialogProps> = props => {
|
||||||
keyboard={keyboard}
|
keyboard={keyboard}
|
||||||
centered={centered}
|
centered={centered}
|
||||||
getContainer={getContainer}
|
getContainer={getContainer}
|
||||||
|
closable={closable}
|
||||||
>
|
>
|
||||||
<div class={`${contentPrefixCls}-body-wrapper`}>
|
<div class={`${contentPrefixCls}-body-wrapper`}>
|
||||||
<div class={`${contentPrefixCls}-body`}>
|
<div class={`${contentPrefixCls}-body`}>
|
||||||
|
|
|
@ -102,6 +102,7 @@ export interface ModalFuncProps {
|
||||||
class?: string;
|
class?: string;
|
||||||
visible?: boolean;
|
visible?: boolean;
|
||||||
title?: VNodeTypes;
|
title?: VNodeTypes;
|
||||||
|
closable?: boolean;
|
||||||
content?: VNodeTypes;
|
content?: VNodeTypes;
|
||||||
// TODO: find out exact types
|
// TODO: find out exact types
|
||||||
onOk?: (...args: any[]) => any;
|
onOk?: (...args: any[]) => any;
|
||||||
|
|
Loading…
Reference in New Issue