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

11 lines (9 loc) 203 B
import {useContext} from 'react' import {IsLastPaneContext} from 'sanity/_singletons' /** * @internal * @hidden */ export function useIsLastPane(): boolean { return useContext(IsLastPaneContext) }