mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
11 lines
365 B
TypeScript
11 lines
365 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>;
|
||
|
};
|