Function
Metric
({ value, label, className }: { value: React.ReactNode; label: string; className?: string })
Source from the content-addressed store, hash-verified
| 93 | } |
| 94 | |
| 95 | function Metric({ value, label, className }: { value: React.ReactNode; label: string; className?: string }) { |
| 96 | return ( |
| 97 | <div className={cn("flex flex-col gap-1 md:flex-row items-center text-sm", className)}> |
| 98 | <div className="text-muted-foreground">{label}</div> |
| 99 | <span className="font-medium whitespace-nowrap">{value}</span> |
| 100 | </div> |
| 101 | ); |
| 102 | } |
| 103 | |
| 104 | function ProjectMetrics({ id }: { id: string }) { |
| 105 | const number = useNumber(); |
Callers
nothing calls this directly
Tested by
no test coverage detected