refactor: add sorting options to library page for Series and BoxSets

This commit is contained in:
Prayag Prajapati committed 2024-07-12 00:34:47 +05:30
1 parent 326b093210
commit c21483ee5b
76 files changed
+7110 -2350

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
import { Skeleton } from "@mui/material";
import React from "react";
const LibraryItemsSkeleton = () => {
return (
<div
style={{
display: "flex",
width: "100%",
overflow: "visible",
flexWrap: "wrap",
alignItems: "center",
justifyContent: "center",
}}
>
{Array.from(new Array(18)).map((item, index) => (
<Skeleton
key={index}
variant="rounded"
sx={{
flexBasis: 185,
height: "auto",
aspectRatio: 0.6666,
// background: "red",
marginRight: "1.5em",
marginBottom: "1.5em",
flexShrink: 1,
flexGrow: 0,
borderRadius: "10px",
}}
/>
))}
</div>
);
};
export default LibraryItemsSkeleton;