UNPKG

motion-v

Version:

<p align="center"> <img width="100" height="100" alt="Motion logo" src="https://user-images.githubusercontent.com/7850794/164965523-3eced4c4-6020-467e-acde-f11b7900ad62.png" /> </p> <h1 align="center">Motion for Vue</h1>

12 lines (11 loc) 534 B
import { DOMKeyframesDefinition } from 'framer-motion'; import { MotionStyle } from '../types'; export declare const style: { get: (element: Element, name: string) => string | undefined; set: (element: Element, name: string, value: string | number) => void; }; export declare function createStyles(keyframes?: MotionStyle | DOMKeyframesDefinition): any; export declare function convertSvgStyleToAttributes(keyframes?: MotionStyle | DOMKeyframesDefinition): { attrs: Record<string, any>; style: Record<string, any>; };