UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

11 lines (9 loc) 229 B
import type {PubSub} from 'nano-pubsub' import {createContext} from 'sanity/_createContext' /** * @internal */ export const ScrollContext = createContext<null | PubSub<Event>>( 'sanity/_singletons/context/scroll', null, )