import type { DossierReportModel } from '@/lib/project-dossier-report'; import { InvestmentReportTables } from './investment-report-tables'; export function DossierReportPreview({ report, }: { report: DossierReportModel; }) { return (

{report.title}

{report.version}

{report.sections.map((section, i) => (

{section.title}

{section.paragraphs.map((p, j) => (

{p}

))}
{section.rows.map((r, j) => (
{r.field}
{r.value}
{r.classification} · {r.origin}
))}
{section.tables && ( )}
))} {report.limitations.map((p, i) => (

{p}

))}
); }