UNPKG

motion-plus-vue

Version:

Motion Plus Vue

19 lines (18 loc) 675 B
import { MotionProps, MotionValue } from 'motion-v'; import { CursorState, CursorType } from './hooks/use-cursor-state/types'; import { MagneticOptions } from './types'; type Size = { width: number | string | MotionValue<any>; height: number | string | MotionValue<any>; }; export interface CursorSizeOptions { type: CursorType; state: CursorState; hasChildren: boolean; style?: MotionProps['style']; isMagnetic: boolean; magneticOptions: MagneticOptions; matchTextSize: boolean; } export declare function getCursorSize({ type, state, hasChildren, style, isMagnetic, magneticOptions, matchTextSize, }: CursorSizeOptions): Size; export {};