Files
pole-book/server/node_modules/@strapi/design-system/dist/hooks/useIntersection.d.ts

11 lines
447 B
TypeScript

import * as React from 'react';
interface UseIntersectionOptions {
selectorToWatch: string;
skipWhen?: boolean;
}
/**
* TODO: refactor this before v2 stable.
*/
export declare const useIntersection: (scrollableAreaRef: React.MutableRefObject<HTMLElement | null>, callback: (entry: IntersectionObserverEntry) => void, { selectorToWatch, skipWhen }: UseIntersectionOptions) => void;
export {};
//# sourceMappingURL=useIntersection.d.ts.map