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

Function MetricRow

src/ui-solid-inspector/index.tsx:754–760  ·  view source on GitHub ↗
(props: {readonly metrics: any; readonly metricId: Id})

Source from the content-addressed store, hash-verified

752};
753
754const MetricRow = (props: {readonly metrics: any; readonly metricId: Id}) => (
755 <tr>
756 <th title={props.metricId}>{props.metricId}</th>
757 <td>{props.metrics?.getTableId(props.metricId)}</td>
758 <td>{useMetric(props.metricId, props.metrics)()}</td>
759 </tr>
760);
761
762const MetricsView = (props: {readonly metricsId?: Id} & StoreProp) => {
763 const metrics = useMetrics(props.metricsId);

Callers

nothing calls this directly

Calls 2

useMetricFunction · 0.90
getTableIdMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…