Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ContentContainer.tsx 430B

12345678910111213141516171819202122
  1. import { Box } from '@mui/system';
  2. import { FC, ReactNode } from 'react';
  3. interface Props {
  4. children: ReactNode;
  5. }
  6. const ContentContainer: FC<Props> = ({ children }) => {
  7. return (
  8. <Box
  9. sx={{
  10. display: 'flex',
  11. flexDirection: { xs: 'column', md: 'row' },
  12. mr: { xs: 2, md: 12 },
  13. ml: { xs: 2, md: 12 },
  14. }}
  15. >
  16. {children}
  17. </Box>
  18. );
  19. };
  20. export default ContentContainer;