Tweak documentation for soundName property (#43004)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43004

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D53734570

fbshipit-source-id: e2233b4a2f1bcb48af5d56319d215eb0ccceaa4e
This commit is contained in:
Ingrid Wang
2024-02-16 15:22:49 -08:00
committed by Facebook GitHub Bot
parent da03d7b829
commit 713ded1d5f
@@ -50,9 +50,9 @@ type Notification = {|
/** Whether to silence the notification sound. */
+isSilent?: ?boolean,
/**
* Custom notification sound to play. Write-only: soundName will be null when
* accessing already created notifications using getScheduledLocalNotifications
* or getDeliveredNotifications.
* Custom notification sound. Can only be set when creating notifications.
* This will be null for notifications retrieved via
* getScheduledLocalNotifications or getDeliveredNotifications.
*/
+soundName?: ?string,
/** DEPRECATED. This was used for iOS's legacy UILocalNotification. */