MCPcopy
hub / github.com/anomalyco/models.dev / Overview

Function Overview

packages/web/src/render.tsx:924–945  ·  view source on GitHub ↗
(props: {
  title: string;
  subtitle: string;
  stats: Array<[string, string | number]>;
})

Source from the content-addressed store, hash-verified

922}
923
924function Overview(props: {
925 title: string;
926 subtitle: string;
927 stats: Array<[string, string | number]>;
928}) {
929 return (
930 <section class="overview">
931 <div>
932 <h2>{props.title}</h2>
933 <p>{props.subtitle}</p>
934 </div>
935 <dl class="stats-strip">
936 {props.stats.map(([label, value]) => (
937 <div>
938 <dt>{label}</dt>
939 <dd>{typeof value === "number" ? formatNumber(value) : value}</dd>
940 </div>
941 ))}
942 </dl>
943 </section>
944 );
945}
946
947function DetailHeader(props: {
948 eyebrow: unknown;

Callers

nothing calls this directly

Calls 1

formatNumberFunction · 0.70

Tested by

no test coverage detected