4
0
forked from crowetic/commerce
commerce/app/search/loading.tsx
2023-07-24 19:40:29 -07:00

16 lines
359 B
TypeScript

import Grid from 'components/grid';
export default function Loading() {
return (
<Grid className="grid-cols-2 lg:grid-cols-3">
{Array(12)
.fill(0)
.map((_, index) => {
return (
<Grid.Item key={index} className="animate-pulse bg-neutral-100 dark:bg-neutral-900" />
);
})}
</Grid>
);
}