MCPcopy Index your code
hub / github.com/tinyplex/tinybase / MetricView

Function MetricView

src/ui-react/MetricView.tsx:9–17  ·  view source on GitHub ↗
({
  metricId,
  metrics,
  debugIds,
}: MetricProps)

Source from the content-addressed store, hash-verified

7import {useMetric} from './hooks.ts';
8
9export const MetricView: typeof MetricViewDecl = ({
10 metricId,
11 metrics,
12 debugIds,
13}: MetricProps): any => (
14 <Wrap debugIds={debugIds} id={metricId}>
15 {useMetric(metricId, metrics) ?? EMPTY_STRING}
16 </Wrap>
17);

Callers

nothing calls this directly

Calls 1

useMetricFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…