From 6fb38c342f0c095272cf385975166cae2baeaadf Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Fri, 12 Jun 2020 18:11:42 +0800 Subject: [PATCH] fix: add modal confirm default icon (#24956) --- components/modal/confirm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/confirm.tsx b/components/modal/confirm.tsx index 59cc87db1c..ae10011139 100644 --- a/components/modal/confirm.tsx +++ b/components/modal/confirm.tsx @@ -133,6 +133,7 @@ export function withError(props: ModalFuncProps): ModalFuncProps { export function withConfirm(props: ModalFuncProps): ModalFuncProps { return { type: 'confirm', + icon: , okCancel: true, ...props, };