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

Interface State

src/useInView.ts:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import useObserver from "./useObserver";
8
9interface State {
10 inView: boolean
11 entry: IntersectionObserverEntry | null
12 observer: IntersectionObserver | null
13}
14
15export interface Options extends IntersectionObserverInit {
16 unobserveOnEnter?: boolean

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected