Skip to content

Commit

Permalink
MessageBoxOptions.icon should allow string (#19798)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Aug 16, 2019
1 parent 871f123 commit 33c8652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/dialog.md
Expand Up @@ -229,7 +229,7 @@ expanding and collapsing the dialog.
inspected only when using `callback`.
* `checkboxChecked` Boolean (optional) - Initial checked state of the
checkbox. `false` by default.
* `icon` [NativeImage](native-image.md) (optional)
* `icon` ([NativeImage](native-image.md) | String) (optional)
* `cancelId` Integer (optional) - The index of the button to be used to cancel the dialog, via
the `Esc` key. By default this is assigned to the first button with "cancel" or "no" as the
label. If no such labeled buttons exist and this option is not set, `0` will be used as the
Expand Down

0 comments on commit 33c8652

Please sign in to comment.