UNPKG

d2js-anim-lib

Version:

Lightweight animation library with support for React, Vue, and Angular

7 lines (6 loc) 320 B
import { RotateOptions, BounceOptions, DragOptions } from '../core'; export declare function useReactAnimations(): { rotate: (el: HTMLElement, options?: RotateOptions) => void; bounce: (el: HTMLElement, options?: BounceOptions) => void; enableDrag: (el: HTMLElement, options?: DragOptions) => () => void; };