UNPKG

@figliolia/react-hooks

Version:

A small collection of simple React Hooks you're probably rewriting on a regular basis

8 lines (7 loc) 230 B
import type { Callback } from "../Types"; export declare class AnimationFrame { private IDs; execute(callback: Callback): () => void; abortAll(): void; cancel(ID: ReturnType<typeof requestAnimationFrame>): void; }