SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

toastHold

Pauses every toast in toaster while the pointer or focus rests on the region.

tsx
import { toastHold } from "@sdxc/ui/app";

Signature

typescript
toastHold(toaster: Toaster<unknown>): MixinDescriptor<HTMLElement>

Parameters

ParameterTypeRequiredDescription
toasterToaster<unknown>Yes

Examples

tsx
<div data-slot="region" mix={[toastHold(toaster)]}>{toasts}</div>
@sdxc/ui

Can’t find it? Contact us