選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Layout.jsx 329B

1234567891011121314151617
  1. import { Box } from '@mui/material';
  2. import Footer from '../footer/Footer';
  3. import Navbar from '../navbar/Navbar';
  4. function Layout(props) {
  5. return (
  6. <>
  7. <Box sx={{ width: '100%' }}>
  8. <Navbar />
  9. <main>{props.children}</main>
  10. <Footer></Footer>
  11. </Box>
  12. </>
  13. );
  14. }
  15. export default Layout;