master
import { useContext } from 'react'; import type { LayoutContextValue } from '../LayoutContext'; import { LayoutContext } from '../LayoutContext'; export const useLayout = (): LayoutContextValue => useContext(LayoutContext);