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

12 lines (9 loc) 256 B
import {createContext} from 'react' import {defaults} from './defaults' import {type ZIndexContextValue} from './types' /** * TODO: Rename to `ZOffsetsContext` * * @internal */ export const ZIndexContext = createContext<ZIndexContextValue>(defaults)