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.

12 lines (11 loc) 264 B
export declare function useCounter(initialValue?: number, options?: { min?: number; max?: number; step?: number; }): { value: number; increment: () => void; decrement: () => void; reset: () => void; set: (value: number) => void; };