Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3047 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import React from 'react';
2
import { Box, styled } from '@mui/material';
3
 
4
const MuiRow = styled(Box)(({ theme }) => ({
5
  display: 'flex',
6
  flexWrap: 'wrap',
7
  gap: theme.spacing(0.5)
8
}));
9
 
10
export default function Row({ children, styles, direction = 'row', gap = 0.5, ...props }) {
11
  return (
12
    <MuiRow sx={styles} {...props} flexDirection={direction} gap={gap}>
13
      {children}
14
    </MuiRow>
15
  );
16
}