mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 12:01:00 +00:00
6 lines
271 B
TypeScript
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>;
|