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
14 lines (11 loc) • 302 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {PerspectiveContextValue} from '../../core/perspective/types'
/**
*
* @hidden
* @beta
*/
export const PerspectiveContext = createContext<PerspectiveContextValue | null>(
'sanity/_singletons/context/perspective-context',
null,
)