mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 16:40:57 +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>;
|