Imperative toast API: show(message, { duration, intent }),
dismiss(toast), and dismissAll(). Toasts render into the page's [data-hl-toast-region]
(mount a <ToastRegion> once near the app root) or into a region created
on demand, so no provider is required and it's safe to call from any
component.
Imperative toast API:
show(message, { duration, intent }),dismiss(toast), anddismissAll(). Toasts render into the page's[data-hl-toast-region](mount a<ToastRegion>once near the app root) or into a region created on demand, so no provider is required and it's safe to call from any component.