Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3719 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3719 Rev 3741
Línea 12... Línea 12...
12
  src = '',
12
  src = '',
13
  height,
13
  height,
14
  width,
14
  width,
15
  alt = '',
15
  alt = '',
16
  type = 'image',
16
  type = 'image',
17
  styles = {
17
  style = {
18
    objectFit: 'contain'
18
    objectFit: 'contain'
19
  },
19
  },
20
  ...props
20
  ...props
21
}) {
21
}) {
22
  return (
22
  return (
23
    <MuiCardMedia
23
    <MuiCardMedia
24
      image={src}
24
      image={src}
25
      alt={alt}
25
      alt={alt}
26
      width={width}
26
      width={width}
27
      height={height}
27
      height={height}
28
      sx={styles}
28
      sx={style}
29
      component={MEDIA_TYPES[type] ?? MEDIA_TYPES.image}
29
      component={MEDIA_TYPES[type] ?? MEDIA_TYPES.image}
30
      {...props}
30
      {...props}
31
    />
31
    />
32
  );
32
  );
33
}
33
}