UNPKG

@lifarl/react-scroll-snap-slider

Version:

A performant React Slider / Carousel Component with CSS Scroll Snapping, Intersection Observer and Accessibility.

2 lines (1 loc) 238 B
export declare const getObserver: (root: (HTMLDivElement | null) | undefined, ref: React.MutableRefObject<IntersectionObserver | null>, callback: (entries: IntersectionObserverEntry[]) => void, threshold: number) => IntersectionObserver;