UNPKG

@josmangarsal/pragmatic-scheduler

Version:
21 lines (20 loc) 595 B
interface ScrollLoadingConfig { gestureDuration?: number; minWheelDelta?: number; resetDelay?: number; } export declare const useScrollLoading: ({ scrollRef }: { scrollRef: React.RefObject<HTMLDivElement>; }, config?: ScrollLoadingConfig) => { ScrollReboundLoader: { ({ direction }: { direction: 'left' | 'right'; }): import("@emotion/react/jsx-runtime").JSX.Element | null; displayName: string; }; isLoadingLeft: boolean; isLoadingRight: boolean; progress: number; isActive: boolean; }; export {};