Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3595 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

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