UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

4 lines (3 loc) • 250 B
import { MotionValue, Subscriber } from "./"; export declare function useOnChange<T>(value: MotionValue<T> | number | string, callback: Subscriber<T>): void; export declare function useMultiOnChange(values: MotionValue[], handler: () => void): void;