Files
Athou_commafeed/commafeed-client/src/components/metrics/Gauge.tsx

11 lines
275 B
TypeScript
Raw Normal View History

import { NumberFormatter } from "@mantine/core"
2025-06-27 16:29:31 +02:00
import type { MetricGauge } from "@/app/types"
2025-07-29 15:21:15 +02:00
interface GaugeProps {
gauge: MetricGauge
}
2025-07-29 15:21:15 +02:00
export function Gauge(props: Readonly<GaugeProps>) {
return <NumberFormatter value={props.gauge.value} thousandSeparator />
}