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
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>
261 B
261 B
dialog-js, dialog
| dialog-js | dialog |
|---|---|
| major | 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.