feat(web/alert): allow defining alert dialog button labels

This commit is contained in:
Luke
2022-12-08 11:46:21 +01:00
parent 4aad28a2e5
commit d92c1d7e23
4 changed files with 15 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ local alert = nil
---@field content string;
---@field centered? boolean?;
---@field cancel? boolean?;
---@field labels? {cancel?: string, confirm?: string}
---@param data AlertDialogProps
---@return 'cancel' | 'confirm' | nil