Skip to content

Commit 096f13d

Browse files
authored
Update confirm dialog parameters to be optional
1 parent b73ac72 commit 096f13d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/dialogs/confirm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import restoreTheme from "lib/restoreTheme";
55
/**
66
* Confirm dialog box
77
* @param {string} titleText Title text
8-
* @param {string} message Alert message
9-
* @param {boolean} isHTML Whether the message is HTML
8+
* @param {string} [message] Alert message
9+
* @param {boolean} [isHTML] Whether the message is HTML
1010
* @returns {Promise<boolean>}
1111
*/
1212
function confirm(titleText, message, isHTML) {

0 commit comments

Comments
 (0)