UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

13 lines (12 loc) 315 B
export declare function useCountdown(initialSeconds: number, options?: { autoStart?: boolean; onComplete?: () => void; interval?: number; }): { seconds: number; isRunning: boolean; start: () => void; pause: () => void; reset: (newSeconds?: number) => void; formatted: string; };