From ff978176684d2acf62a619e4d9e4cb0d71f3ccbe Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Mon, 25 Sep 2017 14:02:59 -0700 Subject: [PATCH] Add `string` to notification doc Tiny fix: The docs suggest `NativeImage` for `icon`, but a string is also allowed. --- docs/api/notification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/notification.md b/docs/api/notification.md index 6dab356bbda5..402bbb69db71 100644 --- a/docs/api/notification.md +++ b/docs/api/notification.md @@ -34,7 +34,7 @@ Returns `Boolean` - Whether or not desktop notifications are supported on the cu * `subtitle` String - (optional) A subtitle for the notification, which will be displayed below the title. _macOS_ * `body` String - The body text of the notification, which will be displayed below the title or subtitle * `silent` Boolean - (optional) Whether or not to emit an OS notification noise when showing the notification - * `icon` [NativeImage](native-image.md) - (optional) An icon to use in the notification + * `icon` (String | [NativeImage](native-image.md)) - (optional) An icon to use in the notification * `hasReply` Boolean - (optional) Whether or not to add an inline reply option to the notification. _macOS_ * `replyPlaceholder` String - (optional) The placeholder to write in the inline reply input field. _macOS_ * `sound` String - (optional) The name of the sound file to play when the notification is shown. _macOS_