UNPKG

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

17 lines (14 loc) 350 B
import type {Path} from '@sanity/types' import {createContext} from 'sanity/_createContext' /** * @internal * @hidden */ export type GetFormValueContextValue = (path: Path) => unknown /** * @internal */ export const GetFormValueContext = createContext<GetFormValueContextValue | null>( 'sanity/_singletons/context/get-form-value', null, )