import { Box } from '@mui/material';
import Navbar from '../navbar/Navbar';

function Layout(props) {
  return (
    <>
      <Box sx={{ width: '100%' }}>
        <Navbar />
        <main>{props.children}</main>
      </Box>
    </>
  );
}

export default Layout;
