You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`[nzCancelText]`| Text of the Cancel button |`string`|`'Cancel'`| - |
42
-
|`[nzOkText]`| Text of the Confirm button |`string`|`'Confirm'`| - |
43
-
|`[nzOkType]`| Button `type` of the Confirm button |`'primary' \| 'ghost' \| 'dashed' \| 'danger' \| 'default'`|`'primary'`| - |
44
-
|`[nzOkDanger]`| Danger status of the OK button. <i>Consistent with the `nzDanger` of the `nz-button`.</i> |`boolean`|`false`| - |
45
-
|`[nzOkDisabled]`| prevents a user from interacting with the OK button. <i>Consistent with the `disabled` of the `nz-button`.</i> |`boolean`|`false`| - |
46
-
|`[nzCondition]`| Whether to directly emit `onConfirm` without showing Popconfirm |`boolean`|`false`| - |
|`[nzBeforeConfirm]`| The hook before the confirmation operation, decides whether to continue responding to the `nzOnConfirm` callback, supports asynchronous verification. |`(() => Observable<boolean> \| Promise<boolean> \| boolean) \| null`|`null`| - |
50
-
|`(nzOnCancel)`| Callback of cancel |`EventEmitter<void>`| - | - |
51
-
|`(nzOnConfirm)`| Callback of confirmation |`EventEmitter<void>`| - | - |
39
+
| Param | Description | Type | Default value | Global Config |
|`[nzCancelText]`| Text of the Cancel button (Deprecated, please use nzCancelButtonProps instead) |`string`|`'Cancel'`| - |
42
+
|`[nzOkText]`| Text of the Confirm button (Deprecated, please use nzOkButtonProps instead) |`string`|`'Confirm'`| - |
43
+
|`[nzOkType]`| Button `type` of the Confirm button (Deprecated, please use nzOkButtonProps instead) |`'primary' \| 'ghost' \| 'dashed' \| 'danger' \| 'default'`|`'primary'`| - |
44
+
|`[nzOkDanger]`| Danger status of the OK button. <i>Consistent with the `nzDanger` of the `nz-button`.</i> (Deprecated, please use nzOkButtonProps instead) |`boolean`|`false`| - |
45
+
|`[nzOkDisabled]`| prevents a user from interacting with the OK button. <i>Consistent with the `disabled` of the `nz-button`.</i> (Deprecated, please use nzOkButtonProps instead) |`boolean`|`false`| - |
46
+
|`[nzOkButtonProps]`| config object of the ok button |`NzPopConfirmButtonProps`|`null`| - |
47
+
|`[nzCancelButtonProps]`| config object of the cancel button |`NzPopConfirmButtonProps`|`null`| - |
48
+
|`[nzCondition]`| Whether to directly emit `onConfirm` without showing Popconfirm |`boolean`|`false`| - |
|`[nzBeforeConfirm]`| The hook before the confirmation operation, decides whether to continue responding to the `nzOnConfirm` callback, supports asynchronous verification. |`(() => Observable<boolean> \| Promise<boolean> \| boolean) \| null`|`null`| - |
52
+
|`(nzOnCancel)`| Callback of cancel |`EventEmitter<void>`| - | - |
53
+
|`(nzOnConfirm)`| Callback of confirmation |`EventEmitter<void>`| - | - |
52
54
53
55
Consult [Tooltip's documentation](/components/tooltip/en#api) to find more APIs.
0 commit comments