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

14 lines (11 loc) 271 B
import {useContext} from 'react' import {PaneRouterContext} from './PaneRouterContext' import {type PaneRouterContextValue} from './types' /** * * @hidden * @beta */ export function usePaneRouter(): PaneRouterContextValue { return useContext(PaneRouterContext) }