UNPKG

react-laze

Version:
10 lines 336 B
import type { MutableRefObject } from 'react'; export interface Laze<T extends HTMLElement> { ref: MutableRefObject<T | null>; visible: boolean; } export interface LazeOptions { refresh?: boolean; } export default function useLaze<T extends HTMLElement>(options?: LazeOptions): Laze<T>; //# sourceMappingURL=useLaze.d.ts.map