import Box from '@mui/material/Box'; import type { GridProps } from '@mui/material/Grid'; import Grid from '@mui/material/Grid'; import type { PaperProps } from '@mui/material/Paper'; import Paper from '@mui/material/Paper'; import Skeleton from '@mui/material/Skeleton'; import Stack from '@mui/material/Stack'; // ---------------------------------------------------------------------- type ProductItemSkeletonProps = PaperProps & { itemCount?: number; }; export function ProductItemSkeleton({ sx, itemCount = 16, ...other }: ProductItemSkeletonProps) { return Array.from({ length: itemCount }, (_, index) => ( )); } // ---------------------------------------------------------------------- export function ProductDetailsSkeleton({ ...other }: GridProps) { return ( {Array.from({ length: 3 }, (_, index) => ( ))} ); }