UNPKG

@guruhotel/aura-hooks

Version:

🪝 Hooks library designed by the Guruhotel team for Aura UI

8 lines (7 loc) 225 B
interface ScrollPosition { x: number; y: number; } declare function scrollTo({ x, y }: Partial<ScrollPosition>): void; export declare function useWindowScroll(): readonly [ScrollPosition, typeof scrollTo]; export {};