Skip to main content

NotificationToast

const NotificationToast: React.FC<Partial<ToastProps>>;

The NotificationToast component works like a normal toast, except it displays data received via a signal, and it stores the messages as an array, displaying one at a time.

Consumers can add a new message by doing:

    notificationToast.emit([{ message: 'My message' }]);