Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3596 | | 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 { styled } from '@mui/material';
3
import colors from '@styles/config/colors';
4
 
5
const CardGrid = styled('div')(({ theme }) => ({
6
  display: 'grid',
7
  gap: theme.spacing(0.5),
8
  marginTop: theme.spacing(1),
9
  position: 'relative',
10
  width: '100%',
11
  gridTemplateColumns: 'repeat(auto-fill, minmax(20rem, 1fr))',
12
  '& + .MuiFormControl-root .MuiInputBase-root': {
13
    backgroundColor: colors.main
14
  }
15
}));
16
 
17
export default function ProfileCardsGrid({ children, styles, ...props }) {
18
  return (
19
    <CardGrid sx={styles} {...props}>
20
      {children}
21
    </CardGrid>
22
  );
23
}