MCPcopy Create free account
hub / github.com/anomalyco/models.dev / Facts

Function Facts

packages/web/src/render.tsx:967–978  ·  view source on GitHub ↗
(props: { items: Array<[string, unknown]> })

Source from the content-addressed store, hash-verified

965}
966
967function Facts(props: { items: Array<[string, unknown]> }) {
968 return (
969 <dl class="fact-grid">
970 {props.items.map(([label, value]) => (
971 <div>
972 <dt>{label}</dt>
973 <dd>{value}</dd>
974 </div>
975 ))}
976 </dl>
977 );
978}
979
980function FactModalities(props: { modalities?: string[] }) {
981 if (!props.modalities || props.modalities.length === 0) return <span>-</span>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected