| 1234567891011121314151617181920212223242526272829 |
- import { Box } from '@mui/system';
- import { ReactNode } from 'react';
-
- interface CardContainerProps {
- children: ReactNode;
- }
-
- const CardContainer: React.FC<CardContainerProps> = ({ children }) => {
- return (
- <Box
- sx={{
- ml: { md: 2 },
- mt: { xs: 5, md: 0 },
- display: 'flex',
- flexDirection: {
- xs: 'column',
- sm: 'row',
- lg: 'column',
- },
- justifyContent: { sm: 'flex-start' },
- flexWrap: 'wrap',
- }}
- >
- {children}
- </Box>
- );
- };
-
- export default CardContainer;
|