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
13 lines (10 loc) • 347 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {PresentationSharedStateContextValue} from '../../presentation/overlays/types'
/**
* @internal
*/
export const PresentationSharedStateContext =
createContext<PresentationSharedStateContextValue | null>(
'sanity/_singletons/context/presentation/shared-state',
null,
)