Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2830 Rev 2832
Línea 102... Línea 102...
102
  height = 200,
102
  height = 200,
103
  width = 200,
103
  width = 200,
104
  alt = '',
104
  alt = '',
105
  type = 'image',
105
  type = 'image',
106
  styles = {},
106
  styles = {},
-
 
107
  image = '',
107
  ...props
108
  ...props
108
}) {
109
}) {
109
  const getMediaComponent = (type) => {
110
  const getMediaComponent = (type) => {
110
    const options = {
111
    const options = {
111
      image: 'img',
112
      image: 'img',
Línea 121... Línea 122...
121
      alt={alt}
122
      alt={alt}
122
      component={getMediaComponent(type)}
123
      component={getMediaComponent(type)}
123
      height={height}
124
      height={height}
124
      src={src}
125
      src={src}
125
      width={width}
126
      width={width}
-
 
127
      image={image}
126
      sx={{
128
      sx={{
127
        objectFit: 'contain',
129
        objectFit: 'contain',
128
        ...styles
130
        ...styles
129
      }}
131
      }}
130
      {...props}
132
      {...props}