// Compact preview of raw record values — used by the source detail page and by // the create dialog when a CSV or bank feed is sampled export default function SampleTable({ rows }) { if (!rows || rows.length === 0) return null const cols = Object.keys(rows[0]) return (
{cols.map(c => )} {rows.map((row, i) => ( {cols.map(c => ( ))} ))}
{c}
{row[c] == null ? — : String(row[c])}
) }