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.

8 lines (7 loc) 226 B
export declare function useNumber(initialValue?: number): { value: number; increment: (amount?: number) => void; decrement: (amount?: number) => void; set: (newValue: number) => void; reset: () => void; };