UNPKG

scroller-motion

Version:

🛹 Elegant motion scrolling for React

18 lines (17 loc) • 633 B
import { ChildrenRef, SpringProp } from '../../types'; interface Options { ref: ChildrenRef; scale: number; spring: SpringProp; } export declare const useCore: ({ ref, scale, spring }: Options) => { height: number; width: number; scrollX: import("framer-motion").MotionValue<number>; scrollXProgress: import("framer-motion").MotionValue<number>; scrollY: import("framer-motion").MotionValue<number>; scrollYProgress: import("framer-motion").MotionValue<number>; x: import("framer-motion").MotionValue<number>; y: import("framer-motion").MotionValue<number>; }; export {};