MCPcopy Create free account
hub / github.com/bitmap/react-hook-inview / UseObserver

Interface UseObserver

src/useObserver.ts:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4} from "react";
5
6interface UseObserver {
7 (
8 callback: IntersectionObserverCallback,
9 options?: IntersectionObserverInit,
10 externalState?: React.ComponentState[]
11 ): (node: Element | null) => void
12}
13
14/**
15 * useObserver

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected