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) • 329 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {CommentsOnboardingContextValue} from '../../core/comments/context/onboarding/types'
/**
* @internal
*/
export const CommentsOnboardingContext = createContext<CommentsOnboardingContextValue | null>(
'sanity/_singletons/context/comments-onboarding',
null,
)