UNPKG

@atlaskit/motion

Version:

A set of utilities to apply motion in your application.

6 lines (5 loc) 232 B
import type { Opts } from './opts'; /** * Will return request animation frame as a function which will clean itself up. */ export declare const useRequestAnimationFrame: (opts?: Opts) => ((handler: FrameRequestCallback) => void);