UNPKG

@wandelbots/wandelbots-js-react-components

Version:

React UI toolkit for building applications on top of the Wandelbots platform

20 lines 650 B
import type { TimerState } from "./types"; interface UseTimerLogicProps { autoStart: boolean; hasError: boolean; onPauseAnimation: () => void; onErrorAnimation: () => void; onClearErrorAnimation: () => void; } export declare const useTimerLogic: ({ autoStart, hasError, onPauseAnimation, onErrorAnimation, onClearErrorAnimation, }: UseTimerLogicProps) => { timerState: TimerState; controls: { start: (elapsedSeconds?: number) => void; pause: () => void; resume: () => void; reset: () => void; isPaused: () => boolean; }; }; export {}; //# sourceMappingURL=useTimerLogic.d.ts.map