extract components from website
This commit is contained in:
14
apps/website/components/teams/StatItem.tsx
Normal file
14
apps/website/components/teams/StatItem.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
interface StatItemProps {
|
||||
label: string;
|
||||
value: string;
|
||||
color: string;
|
||||
}
|
||||
|
||||
export default function StatItem({ label, value, color }: StatItemProps) {
|
||||
return (
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-gray-400 text-sm">{label}</span>
|
||||
<span className={`font-semibold ${color}`}>{value}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user