({ quote, onNavigate }: { quote: SourceQuote; onNavigate: RepositoryMapProps['onNavigate'] })
| 47 | } |
| 48 | |
| 49 | function Quote({ quote, onNavigate }: { quote: SourceQuote; onNavigate: RepositoryMapProps['onNavigate'] }) { |
| 50 | return <div className="repo-map-quote"><span className="repo-map-eyebrow">{quote.kind === 'readme' ? 'Project README' : 'Source documentation'} · author description</span> |
| 51 | <blockquote>{quote.text}</blockquote><button onClick={() => onNavigate(quote.path, quote.line)}>Source: {quote.path}:{quote.line}</button></div>; |
| 52 | } |
| 53 | |
| 54 | export default function RepositoryMapView({ graph, overview, filter, onNavigate, onSelect, selection, selectionPanel, graphNote, readSource }: RepositoryMapProps) { |
| 55 | const map = useMemo(() => graph ? repositoryMap(graph) : undefined, [graph]); |
nothing calls this directly
no outgoing calls
no test coverage detected