UNPKG

framer-motion

Version:

A simple and powerful React animation library

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;