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

Function DetailHeader

packages/web/src/render.tsx:947–965  ·  view source on GitHub ↗
(props: {
  eyebrow: unknown;
  title: string;
  description?: string;
  code: string;
  copyValue: string;
})

Source from the content-addressed store, hash-verified

945}
946
947function DetailHeader(props: {
948 eyebrow: unknown;
949 title: string;
950 description?: string;
951 code: string;
952 copyValue: string;
953}) {
954 return (
955 <section class="detail-header">
956 <div class="breadcrumbs">{props.eyebrow}</div>
957 <h2>{props.title}</h2>
958 {props.description && <p>{props.description}</p>}
959 <div class="code-line">
960 <code>{props.code}</code>
961 <CopyButton value={props.copyValue} label={`Copy ${props.code}`} />
962 </div>
963 </section>
964 );
965}
966
967function Facts(props: { items: Array<[string, unknown]> }) {
968 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected