UNPKG

@kadconsulting/dry

Version:
14 lines (13 loc) 370 B
import type { ReactNode } from 'react'; import type { Layouts, Theme } from 'types'; export type LayoutContextValue = { layout: Layouts | null; /** Width in px */ windowInnerWidth: number; /** Height in px */ windowInnerHeight: number; }; export type LayoutContextProviderProps = { theme?: Theme | null; children: ReactNode | ReactNode[]; };