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
10 lines (7 loc) • 307 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {DocumentPaneContextValue} from '../../structure/panes/document/DocumentPaneContext'
/** @internal */
export const DocumentPaneContext = createContext<DocumentPaneContextValue | null>(
'sanity/_singletons/context/document-pane',
null,
)