react-raster
Version:
Advanced grid- and styling-system which is highly customizable and ready for server-side-rendering.
11 lines (10 loc) • 427 B
TypeScript
/// <reference types="react" />
interface Props {
ref?: React.MutableRefObject<HTMLElement>;
root?: null | HTMLElement;
rootMargin?: string;
threshold?: number | number[];
onIntersect?: (IntersectionObserverEntry: IntersectionObserverEntry, observer: IntersectionObserver) => void;
}
export default function onIntersect({ ref, root, rootMargin, threshold, onIntersect, }: Props): void;
export {};