@kadconsulting/dry
Version:
KAD Reusable Component Library
14 lines (13 loc) • 370 B
TypeScript
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[];
};