motion-v
Version:
<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for Vue</h1>
14 lines (13 loc) • 539 B
TypeScript
import { MotionProps } from './types';
import { createVisualElement } from '../../state/create-visual-element';
import { MotionState } from '../../state';
export declare function useMotionState(props: MotionProps, renderer?: typeof createVisualElement): {
getProps: () => import('../..').Options<any> & {
presenceContext: import('../animate-presence/presence').PresenceContext;
};
getAttrs: () => {
[x: string]: unknown;
};
layoutGroup: import('../context').LayoutGroupState;
state: MotionState;
};