From 9eba9c4d96d4ca8424fe9d77a923e6ecec65a948 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Wed, 4 Mar 2020 17:56:56 +0800 Subject: [PATCH] =?UTF-8?q?confirm=20=E6=94=AF=E6=8C=81=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Alert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Alert.tsx b/src/components/Alert.tsx index f959f61a..faa7a5b7 100644 --- a/src/components/Alert.tsx +++ b/src/components/Alert.tsx @@ -187,7 +187,7 @@ export const confirm: ( content: string, title?: string, confirmText?: string -) => Promise = (content, title) => +) => Promise = (content, title, confirmText) => Alert.getInstance().confirm(content, title, confirmText); export const ThemedAlert = themeable(Alert); export default ThemedAlert;