forked from Archives/Athou_commafeed
add metrics page
This commit is contained in:
9
commafeed-client/src/components/metrics/Gauge.tsx
Normal file
9
commafeed-client/src/components/metrics/Gauge.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { MetricGauge } from "app/types"
|
||||
|
||||
interface MeterProps {
|
||||
gauge: MetricGauge
|
||||
}
|
||||
|
||||
export function Gauge(props: MeterProps) {
|
||||
return <span>{props.gauge.value}</span>
|
||||
}
|
||||
Reference in New Issue
Block a user