UNPKG

mg-js

Version:

A set of useful functions, components and hooks.

11 lines (10 loc) 338 B
/// <reference types="react" /> export type Options = { distance?: string; initPage?: number; }; type returnValues = { Intersector: () => JSX.Element; }; declare const useLazyScrolling: ({ distance, initPage }: Options | undefined, callback: (page: number) => void) => returnValues; export default useLazyScrolling;