UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

5 lines (4 loc) • 512 B
/// <reference types="react" /> import { MotionProps } from "../../motion/types"; import { VisualElement } from "../types"; export declare function useRender<Props>(Component: string | React.ComponentType<Props>, props: MotionProps, visualElement: VisualElement): import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>;