UNPKG

next-scroll

Version:

Scroll postion gives you ability the manipulate scroll

7 lines (6 loc) 192 B
interface scrollToTypes { target: "top" | "bottom" | number; duration?: number; } declare const scrollTo: ({ target, duration }: scrollToTypes) => void; export default scrollTo;