@14islands/r3f-scroll-rig
Version:
Progressively enhance any React website with WebGL using @react-three/fiber
11 lines (10 loc) • 347 B
TypeScript
/**
* Public interface for ScrollRig
*/
export declare const useScrollbar: () => {
enabled: boolean;
scroll: import("./SmoothScrollbarTypes").ScrollData;
scrollTo: (target: any) => void;
onScroll: (cb: import("./SmoothScrollbarTypes").ScrollCallback) => () => void;
__lenis: import("lenis").default | undefined;
};