UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

7 lines (6 loc) 335 B
import { DismissToast, UpdateToast } from "./CreateToastContext.types"; import { TimerToast } from "./ToastTypes"; export declare const useToastTimer: (toasts: TimerToast[], updateToast: UpdateToast<TimerToast>, dismissToast: DismissToast) => { resumeTimer: (toastId: string) => void; pauseTimer: (toastId: string) => void; };