From 706d41628498ae6c861633f33322e80bf0eba34b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:30:13 -0500 Subject: [PATCH] docs: clarify icon value in Notification (#43414) * docs: clarify icon value in Notification Co-authored-by: Shelley Vohr * Update docs/api/notification.md Co-authored-by: Erick Zhao Co-authored-by: Shelley Vohr --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr --- 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 fe12a9d0506c..efaa93b39e21 100644 --- a/docs/api/notification.md +++ b/docs/api/notification.md @@ -36,7 +36,7 @@ Returns `boolean` - Whether or not desktop notifications are supported on the cu * `subtitle` string (optional) _macOS_ - A subtitle for the notification, which will be displayed below the title. * `body` string (optional) - The body text of the notification, which will be displayed below the title or subtitle. * `silent` boolean (optional) - Whether or not to suppress the OS notification noise when showing the notification. - * `icon` (string | [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. If a string is passed, it must be a valid path to a local icon file. * `hasReply` boolean (optional) _macOS_ - Whether or not to add an inline reply option to the notification. * `timeoutType` string (optional) _Linux_ _Windows_ - The timeout duration of the notification. Can be 'default' or 'never'. * `replyPlaceholder` string (optional) _macOS_ - The placeholder to write in the inline reply input field.