-
-
- {uploading ? (
- <>
- Please wait...
- Uploading image(s)...
- >
- ) : (
- <>
-
-
-
-
- Click or drag images to here to upload
-
- >
- )}
-
- {imageURLs &&
- imageURLs.length > 0 &&
- imageURLs.map((image, i) => (
-
-
-
-
-
- {image.name}
-
- (
-
- )}
- >
-
-
-
-
+ <>
+
+
+
+ beforeUpload(event.target.files)}
+ />
+ {uploading ? (
+ <>
+ Please wait...
+ Uploading image(s)...
+ >
+ ) : (
+ <>
+
+
+
+
+ Click or drag images to here to upload
+
+ >
+ )}
+
+ {imageURLs &&
+ imageURLs.length > 0 &&
+ imageURLs.map((image, i) => (
+
+
+
+
+
+ {image.name}
+
+ (
+
+ )}
+ >
+
+
+
+
+
-
- ))}
-
-
+ ))}
+
+