From 35f9860a29f99492f02d7f0e14cb726318eec46a Mon Sep 17 00:00:00 2001 From: "electron-website-docs-updater[bot]" <166660481+electron-website-docs-updater[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 02:30:42 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20update=20ref=20to=20docs=20(?= =?UTF-8?q?=F0=9F=A4=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/latest/api/notification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/latest/api/notification.md b/docs/latest/api/notification.md index f69800c20..e477af335 100644 --- a/docs/latest/api/notification.md +++ b/docs/latest/api/notification.md @@ -43,7 +43,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](latest/api/native-image.md)) (optional) - An icon to use in the notification. + * `icon` (string | [NativeImage](latest/api/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.