Files
agency/.pnpm-store/v3/files/ee/ace844a78112a8cedd07499c3acd3794c12793266283b9dd6c01ebbc8a591d01af0093317bce56c9ec578bcab248bcbd99a676c5c717d87ca6a66fec7932ea
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

14 lines
532 B
Plaintext

export interface UseCountUpOptions {
/** Animation duration in ms. Default 1200. Set 0 to disable. */
duration?: number;
/** Easing function. Default cubic ease-out. */
ease?: (t: number) => number;
/** Re-trigger on `target` changes. Default true. */
retrigger?: boolean;
}
/**
* Smoothly animates from 0 (or the previous value) up to `target`. Honors
* `prefers-reduced-motion` and a `duration: 0` opt-out.
*/
export declare function useCountUp(target: number | null, opts?: UseCountUpOptions): number;