"use client" import { TrendingUp, CheckCircle, Star } from "lucide-react" import { motion } from "motion/react" interface StatsRowProps { contributions: number verifiedEntries: number reputation: number } export function StatsRow({ contributions, verifiedEntries, reputation }: StatsRowProps) { const stats = [ { label: "Contributions", value: contributions, icon: TrendingUp, color: "text-primary" }, { label: "Verified", value: verifiedEntries, icon: CheckCircle, color: "text-green-400" }, { label: "Reputation", value: reputation, icon: Star, color: "text-accent" }, ] return ( {stats.map((stat) => (
{stat.value} {stat.label}
))}
) }