InterfaceNotificationToastHelpers
Interface: InterfaceNotificationToastHelpers
Defined in: src/types/NotificationToast/interface.ts:50
Reusable helper API exposed by NotificationToast.
Properties
dismiss()
dismiss: () =>
void
Defined in: src/types/NotificationToast/interface.ts:74
Dismiss all active toasts.
Returns
void
error()
error: (
message,options?) =>Id
Defined in: src/types/NotificationToast/interface.ts:59
Show an error toast.
Parameters
message
options?
ToastOptions
Returns
Id
info()
info: (
message,options?) =>Id
Defined in: src/types/NotificationToast/interface.ts:69
Show an info toast.
Parameters
message
options?
ToastOptions
Returns
Id
success()
success: (
message,options?) =>Id
Defined in: src/types/NotificationToast/interface.ts:54
Show a success toast.
Parameters
message
options?
ToastOptions
Returns
Id
warning()
warning: (
message,options?) =>Id
Defined in: src/types/NotificationToast/interface.ts:64
Show a warning toast.
Parameters
message
options?
ToastOptions
Returns
Id