+ {file.error ? (
+
+ ) : file.state === 'uploading' ? (
+ <>
+
+ >
+ ) : (
+ <>
+
+ {file.info ? (
+ [
+
+ {file.info.width} x {file.info.height}
+
,
+ file.info.len ? (
+
+ {ImageControl.formatFileSize(file.info.len)}
+
+ ) : null
+ ]
+ ) : (
+
...
+ )}
+
+ {!disabled ? (
+
+
+
+ ) : null}
+ {!!crop && !disabled ? (
+
+
+
+ ) : null}
+ {!disabled ? (
+
+
+
+ ) : null}
+
+ >
+ )}
+