mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-28 03:10:55 +00:00
6 lines
237 B
TypeScript
6 lines
237 B
TypeScript
export interface UseInViewportReturnValue<T extends HTMLElement = any> {
|
|
inViewport: boolean;
|
|
ref: React.RefCallback<T | null>;
|
|
}
|
|
export declare function useInViewport<T extends HTMLElement = any>(): UseInViewportReturnValue<T>;
|