(props: {
eyebrow: unknown;
title: string;
description?: string;
code: string;
copyValue: string;
})
| 945 | } |
| 946 | |
| 947 | function 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 | |
| 967 | function Facts(props: { items: Array<[string, unknown]> }) { |
| 968 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected