UNPKG

svelte-motion

Version:

Svelte animation library based on the React library framer-motion.

14 lines (12 loc) 791 B
/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import * as React from "react"; import { FeatureComponents } from "../../../motion/features/types"; import { MotionComponentConfig } from "../../../motion"; import { HTMLRenderState } from "../../html/types"; import { SVGRenderState } from "../../svg/types"; import { CreateVisualElement } from "../../types"; import { CustomMotionComponentConfig } from "../motion-proxy"; export declare function createDomMotionConfig<Props>(Component: string | React.ComponentType<Props>, { forwardMotionProps }: CustomMotionComponentConfig, preloadedFeatures?: FeatureComponents, createVisualElement?: CreateVisualElement<any>): MotionComponentConfig<SVGElement, SVGRenderState> | MotionComponentConfig<HTMLElement, HTMLRenderState>;