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
12 lines (9 loc) • 299 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {MentionUserContextValue} from '../../core/tasks/context/mentionUser/types'
/**
* @internal
*/
export const MentionUserContext = createContext<MentionUserContextValue | null>(
'sanity/_singletons/context/mention-user',
null,
)