mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
refactor(dialog)!: remove deprecated MessageDialogOptions.okLabel (#3612)
* refactor(dialog)!: remove deprecated MessageDialogOptions.okLabel
Use `buttons: { ok: 'label' }` instead. `ConfirmDialogOptions` (used by
`ask` and `confirm`) still accepts `okLabel` and `cancelLabel`.
* Apply suggestion from @amrbashir
---------
Co-authored-by: Amr Bashir <github@amrbashir.me>
This commit is contained in:
co-authored by
Amr Bashir
parent
1a43e4701d
commit
b2d7c387ef
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"dialog-js": major
|
||||
"dialog": major
|
||||
---
|
||||
|
||||
**Breaking:** Removed the deprecated `okLabel` option of `MessageDialogOptions`. Use `buttons: { ok: 'label' }` instead. `ConfirmDialogOptions` (used by `ask` and `confirm`) still accepts `okLabel` and `cancelLabel`.
|
||||
Reference in New Issue
Block a user