UNPKG

rooks

Version:

Essential React custom hooks ⚓ to super charge your components!

6 lines 396 B
import type { CallbackRef } from "../utils/utils"; declare function useInViewRef(): [CallbackRef, boolean]; declare function useInViewRef(options: IntersectionObserverInit): [CallbackRef, boolean]; declare function useInViewRef(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): [CallbackRef, boolean]; export { useInViewRef }; //# sourceMappingURL=useInViewRef.d.ts.map