diff --git a/src/components/Charts/ImageGallerySkeleton.jsx b/src/components/Charts/ImageGallerySkeleton.jsx new file mode 100644 index 00000000..a3f871d9 --- /dev/null +++ b/src/components/Charts/ImageGallerySkeleton.jsx @@ -0,0 +1,46 @@ +import React from "react"; + +const ImageCardSkeleton = ({ count = 1 }) => { + const cards = Array.from({ length: count }); + + return ( +
No images match the selected filters.
; + } + + return ( +Date: {hoverDate}
+Time: {hoverTime}
+Activity: {batch.activityName}
+Loading...
} + {!hasNextPage && !isLoading && images.length > 0 && ( +You've reached the end of the images.
+ )} ++ + Uploaded By: + {fullName} +
+ ++ + Date: + {date} +
+ ++ + Location: + + {buildingName} {floorName}{" "} + {workAreaName || "Unknown"}{" "} + {activityName} + +
+ ++ + Comment: + {batchComment} +
+Loading...
-- Date: {hoverDate} -
-- Time: {hoverTime} -
-- Activity:{" "} - {batch.activityName} -
-- No images match the selected filters. -
- )} -Loading...
} - {!hasNextPage && !isLoading && images.length > 0 && ( -- You've reached the end of the images. -
- )} -