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) • 318 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {SearchContextValue} from '../../core/studio/components/navbar/search/contexts/search/SearchContext'
/**
* @internal
*/
export const SearchContext = createContext<SearchContextValue | undefined>(
'sanity/_singletons/context/search',
undefined,
)