/** * Reusable table component for the audit documentation. * Renders a striped HTML table with headers and rows. */ export function Table({ headers, rows }: { headers: string[]; rows: string[][] }) { return (
{headers.map((header, i) => ( ))} {rows.map((row, i) => ( {row.map((cell, j) => ( ))} ))}
{header}
{cell}
) }