• Create a motion component.

    This function accepts a Component argument, which can be either a string (ie "div" for motion.div), or an actual React component.

    Alongside this is a config option which provides a way of rendering the provided component "offline", or outside the React render cycle.

    Type Parameters

    • Props extends {}

    • Instance

    • RenderState

    Parameters

    Returns React$1.ForwardRefExoticComponent<React$1.PropsWithoutRef<Props & MotionProps> & React$1.RefAttributes<Instance>>

Generated using TypeDoc