Toast
Exposed
Name
Arguments
add
({ type: ToastType; title: string; message?: string; action?: { fn: (toast: { id: string }) => void; label: string }; autoClose?: number; }) => void
Add a toast.
close
(id: string) => void
Close toast with id.
clear
Clear all toasts.