Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2605 Rev 2606
Línea 8... Línea 8...
8
  CardMedia,
8
  CardMedia,
9
  styled
9
  styled
10
} from '@mui/material'
10
} from '@mui/material'
Línea 11... Línea 11...
11
 
11
 
12
const WidgetContainer = styled(Card)(({ theme }) => ({
-
 
13
  backgroundColor: theme.palette.primary.main,
12
const WidgetContainer = styled(Card)(({ theme }) => ({
14
  borderRadius: 0,
13
  borderRadius: 0,
15
  boxShadow: theme.shadows[1],
14
  boxShadow: theme.shadows[1],
16
  height: 'fit-content',
15
  height: 'fit-content',
17
  position: 'relative',
16
  position: 'relative',
Línea 21... Línea 20...
21
  }
20
  }
22
}))
21
}))
Línea 23... Línea 22...
23
 
22
 
24
export function Widget({ children, styles, ...props }) {
23
export function Widget({ children, styles, ...props }) {
25
  return (
24
  return (
26
    <WidgetContainer sx={styles} {...props}>
25
    <WidgetContainer sx={styles} {...props} com>
27
      {children}
26
      {children}
28
    </WidgetContainer>
27
    </WidgetContainer>
29
  )
28
  )