Provides toast notification functionality.
Example
(message: string, translationVars?: { [key: string]: string | number }) => voidDisplay a success toast notification
(message: string, translationVars?: { [key: string]: string | number }) => voidDisplay an info toast notification
(message: string, translationVars?: { [key: string]: string | number }) => voidDisplay a warning toast notification
(message: string, translationVars?: { [key: string]: string | number }) => voidDisplay an error toast notification
(config: ToastConfig) => voidDisplay a toast notification.
The types of notification available.
Configuration for a toast notification.
string{ [key: string]: string | number }NotificationTypenumber