(props: { items: Array<[string, unknown]> })
| 965 | } |
| 966 | |
| 967 | function 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 | |
| 980 | function FactModalities(props: { modalities?: string[] }) { |
| 981 | if (!props.modalities || props.modalities.length === 0) return <span>-</span>; |
nothing calls this directly
no outgoing calls
no test coverage detected