mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 14:59:16 +01:00
11 lines
355 B
TypeScript
11 lines
355 B
TypeScript
import { DOMAttributes } from 'react';
|
|
import { ToastProps } from '../types';
|
|
export declare function useToast(props: ToastProps): {
|
|
playToast: () => void;
|
|
pauseToast: () => void;
|
|
isRunning: boolean;
|
|
preventExitTransition: boolean;
|
|
toastRef: import("react").RefObject<HTMLDivElement>;
|
|
eventHandlers: DOMAttributes<HTMLElement>;
|
|
};
|