Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import { memo } from "react";
2import Skeleton from "@/components/Shared/Skeleton";
3
4interface GraphStatsShimmerProps {
5 count: number;
6}
7
8const GraphStatsShimmer = ({ count }: GraphStatsShimmerProps) => {
9 return (
10 <div className="flex gap-5 pb-1">
11 {Array.from({ length: count }).map((_, index) => (
12 <div className="flex items-center gap-x-2" key={index}>
13 <Skeleton className="size-4 rounded-lg" />
14 <Skeleton className="h-3 w-20 rounded-lg" />
15 </div>
16 ))}
17 </div>
18 );
19};
20
21export default memo(GraphStatsShimmer);