T

ToastStoreState

State and actions of the toast store.

type ToastStoreState = { … }

Members

Shows a toast, replacing any with the same id, and stamps date when unset.

Every toast on screen, keyed by toast id, including ones playing their exit animation.

updateToastWithOptions(id: string, options: Partial<InternalToastOptions>) => void

Merges options into the toast id. Does nothing when no such toast is on screen.