Files
emaui/node_modules/@mantine/hooks/lib/use-intersection/use-intersection.d.ts
2026-05-29 15:23:46 +03:00

6 lines
271 B
TypeScript

export interface UseIntersectionReturnValue<T> {
ref: React.RefCallback<T | null>;
entry: IntersectionObserverEntry | null;
}
export declare function useIntersection<T extends HTMLElement = any>(options?: IntersectionObserverInit): UseIntersectionReturnValue<T>;