'use client' import { Hash } from 'lucide-react' import type { FootnoteUnit } from '@/lib/sdk/advisor/evidence' import { PaneHeader } from './PaneHeader' /** Footnotes pane (C-FN) — rendered only when present. */ export function FootnotesPane({ footnotes }: { footnotes: FootnoteUnit[] }) { if (footnotes.length === 0) return null return (
} title="Fußnoten" count={footnotes.length} />
{footnotes.map((fn) => (
{fn.ref} {' · '} {fn.source.short} {fn.section ? ` / ${fn.section}` : ''} {fn.text &&

{fn.text}

}
))}
) }