Skip to content

Function: useResourceStatusToaster()

useResourceStatusToaster(options?): void

Drives a sticky sonner toast that mirrors the worst pending resource status. Does not render anything — supply your own <Toaster />. Most apps should prefer ResourceStatusIndicator; use this hook only to share an existing Toaster with unrelated app toasts.

ResourceStatusToasterOptions

void