import { IMasterDetailsContextLayer } from '../../Context/MasterDetailsContext.Types'; export interface IMasterPanelProps { /** * Optional className to emit onto the root MasterPanel element */ className?: string; /** * Should the Master Panel show on small screens? * This is to support compat for scenarios that aren't fully converted to a master-details pattern, eg. settings (at time of writing) * @default false */ showOnSmallScreens?: boolean; } export interface IMasterPanelInternalProps extends IMasterPanelProps { /** * Current master details context layer. */ layer: IMasterDetailsContextLayer; } export interface IMasterPanelHeaderProps { /** * Optional subtitle text */ subTitle?: string; /** * Title text to display */ title: string; }