MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / Metric

Function Metric

apps/start/src/components/projects/project-card.tsx:95–102  ·  view source on GitHub ↗
({ value, label, className }: { value: React.ReactNode; label: string; className?: string })

Source from the content-addressed store, hash-verified

93}
94
95function 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
104function ProjectMetrics({ id }: { id: string }) {
105 const number = useNumber();

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected