classify web
This commit is contained in:
14
components/PagesComponent/Home/AllItemsSkeleton.jsx
Normal file
14
components/PagesComponent/Home/AllItemsSkeleton.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { useId } from "react";
|
||||
import ProductCardSkeleton from "../../Common/ProductCardSkeleton";
|
||||
|
||||
const AllItemsSkeleton = () => {
|
||||
return (
|
||||
<>
|
||||
{Array.from({ length: 8 }).map(() => (
|
||||
<ProductCardSkeleton key={useId()} />
|
||||
))}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default AllItemsSkeleton;
|
||||
Reference in New Issue
Block a user