framer-motion
Version:
A simple and powerful JavaScript animation library
7 lines (4 loc) • 407 B
TypeScript
import * as motion_dom from 'motion-dom';
import { AnimationScope } from 'motion-dom';
declare function useAnimateMini<T extends Element = any>(): [AnimationScope<T>, (elementOrSelector: motion_dom.ElementOrSelector, keyframes: motion_dom.DOMKeyframesDefinition, options?: motion_dom.AnimationOptions | undefined) => motion_dom.AnimationPlaybackControlsWithThen];
export { useAnimateMini as useAnimate };