Dispatch a notification to the UIManager.
The severity level of the notification.
The title to display in the notification.
Optionalmessage: stringOptional detailed message for the notification.
Optionaloptions: Pick<Notification, "action" | "duration">An action to offer, and how long to stay.
A handle onto the toast, or undefined where there is nowhere to
show one (a UI mode with no notification slot).
Manages and displays notification messages in the graph UI.
Use this component to show success, warning, error, or info messages to the user.
Example
A notification can also carry one action and outlive the default four seconds, which is how an outcome offers to undo itself:
Example