import { Box, BoxProps } from '@biom3/react'; import { merge } from 'ts-deepmerge'; import { simpleLayoutStyle, headerStyle, footerStyle, bodyStyle, contentStyle, heroContentStyle, responsiveStyles, } from './SimpleLayoutStyles'; export interface SimpleLayoutProps { header?: React.ReactNode; footer?: React.ReactNode; children?: React.ReactNode; heroContent?: React.ReactNode; testId?: string; floatHeader?: boolean; footerBackgroundColor?: string; bodyStyleOverrides?: BoxProps['sx']; containerSx?: BoxProps['sx']; } export function SimpleLayout({ header, footer, children, heroContent, testId = 'container', floatHeader = false, footerBackgroundColor, bodyStyleOverrides, containerSx = {}, }: SimpleLayoutProps) { return ( {header && ( {header} )} {heroContent && ( {heroContent} )} {children && ( {children} )} {footer && ( {footer} )} ); }