+ {/* Preview image */}
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+

+
+ {/* Uploading overlay */}
+ {img.status === "uploading" && (
+
+
+
+ )}
+
+ {/* Error overlay */}
+ {img.status === "error" && (
+
+ Error
+
+ )}
+
+ {/* Progress bar at bottom */}
+ {img.status === "uploading" && (
+
+ )}
+
+ {/* Remove button */}
+ {img.status !== "uploading" && (
+
+ )}
+
+ {/* Order badge */}
+
+ {i + 1}
+
+