import * as React from 'react'; import { Theme, styled } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; const ProductHeroLayoutRoot = styled('section')(({ theme }) => ({ color: theme.palette.common.white, position: 'relative', display: 'flex', alignItems: 'center', [theme.breakpoints.up('sm')]: { height: '80vh', minHeight: 500, maxHeight: 1300, }, })); const Background = styled(Box)({ position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, backgroundSize: 'cover', backgroundRepeat: 'no-repeat', zIndex: -2, }); interface ProductHeroLayoutProps { sxBackground: SxProps; } export default function ProductHeroLayout( props: React.HTMLAttributes & ProductHeroLayoutProps, ) { const { sxBackground, children } = props; return ( wonder {children} ); }