Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2532 Rev 2661
Línea 44... Línea 44...
44
        return "video/mp4, video/mpeg, video/webm, application/pdf, image/jpeg, image/png, image/jpg";
44
        return "video/mp4, video/mpeg, video/webm, application/pdf, image/jpeg, image/png, image/jpg";
45
      default:
45
      default:
46
        return null;
46
        return null;
47
    }
47
    }
48
  };
48
  };
49
  
49
 
50
  const {
50
  const {
51
    getRootProps,
51
    getRootProps,
52
    getInputProps,
52
    getInputProps,
53
    acceptedFiles,
53
    acceptedFiles,
54
    fileRejections,
54
    fileRejections,
Línea 131... Línea 131...
131
          </div>
131
          </div>
132
        );
132
        );
133
      case shareModalTypes.FILE:
133
      case shareModalTypes.FILE:
134
        return (
134
        return (
135
          <div
135
          <div
136
            style={{ ...thumbStyle, width: "auto", height: "auto" }}
136
            style={{ ...thumbStyle, width: "90%", height: "auto", margin: 'auto' }}
137
            key={file.name}
137
            key={file.name}
138
          >
138
          >
139
            <div style={thumbInnerStyle}>
139
            <div style={thumbInnerStyle}>
140
              <object
140
              <object
141
                data={URL.createObjectURL(file)}
141
                data={URL.createObjectURL(file)}