Proyectos de Subversion LeadersLinked - SPA

Rev

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

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