Options for displaying error notifications with recovery actions.
export interface ErrorNotificationOptions { /** Callback to execute when user clicks retry button */ onRetry?: () => void | Promise<void>; /** Callback to execute when user dismisses the notification */ onDismiss?: () => void; /** Toast ID for updating existing toasts */ toastId?: string | number; /** Custom toast duration in milliseconds */ duration?: number;} Copy
export interface ErrorNotificationOptions { /** Callback to execute when user clicks retry button */ onRetry?: () => void | Promise<void>; /** Callback to execute when user dismisses the notification */ onDismiss?: () => void; /** Toast ID for updating existing toasts */ toastId?: string | number; /** Custom toast duration in milliseconds */ duration?: number;}
Optional
Callback to execute when user clicks retry button
Callback to execute when user dismisses the notification
Toast ID for updating existing toasts
Custom toast duration in milliseconds
Options for displaying error notifications with recovery actions.
Source