MCPcopy
hub / github.com/thebuilder/react-intersection-observer / RenderProps

Interface RenderProps

src/index.tsx:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20) => void;
21
22interface RenderProps {
23 inView: boolean;
24 entry: IntersectionObserverEntry | undefined;
25 // biome-ignore lint/suspicious/noExplicitAny: Ref could be anything
26 ref: React.RefObject<any> | ((node?: Element | null) => void);
27}
28
29export interface IntersectionOptions extends IntersectionObserverInit {
30 /** The IntersectionObserver interface's read-only `root` property identifies the Element or Document whose bounds are treated as the bounding box of the viewport for the element which is the observer's target. If the `root` is null, then the bounds of the actual document viewport are used.*/

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…