toastHold
Pauses every toast in toaster while the pointer or focus rests on the region.
import { toastHold } from "@sdxc/ui/app";Signature
toastHold(toaster: Toaster<unknown>): MixinDescriptor<HTMLElement>Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
toaster | Toaster<unknown> | Yes |
Examples
<div data-slot="region" mix={[toastHold(toaster)]}>{toasts}</div>