UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

5 lines (4 loc) 223 B
export declare function useIntersection<T extends HTMLElement = any>(options?: ConstructorParameters<typeof IntersectionObserver>[1]): { ref: (element: T | null) => void; entry: IntersectionObserverEntry | null; };