confirm 支持指定确认文字

This commit is contained in:
2betop 2020-03-04 17:56:56 +08:00
parent 2357a53caa
commit 9eba9c4d96
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export const confirm: (
content: string,
title?: string,
confirmText?: string
) => Promise<any> = (content, title) =>
) => Promise<any> = (content, title, confirmText) =>
Alert.getInstance().confirm(content, title, confirmText);
export const ThemedAlert = themeable(Alert);
export default ThemedAlert;