-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Describe the problem
Electron has this option.
And there is currently no way to change the icon of the dialog.
Also currently the dialog title is very inconsistant (ask and confirm has title option, but message don't.)
Describe the solution you'd like
This would be an optional property, example:
import { dialog } from "@tauri-apps/api"
dialog.message("message", {type: "info", title: "test"})
Types should be: "info", "error", "warning"
Alternatives considered
I'm currently using a cargo package native-dialog
Additional context
No response
Reactions are currently unavailable