import type { PrRow } from "../api/form"; type Props = { rows: PrRow[]; /** Extra classes on the outer flex wrapper (e.g. flex-1 min-h-0). */ className?: string; }; export function PrLineItemsTable({ rows, className = "" }: Props) { if (!rows.length) return null; return (
| PR Line Item | MAT GRP | PR SHORT TEXT | PR LONG TEXT | PR Quantity | Delivery Date |
|---|---|---|---|---|---|
| {r.pr_line_item} | {r.mat_grp} | {r.pr_short_text} | {r.pr_long_text} | {r.pr_quantity} | {r.delivery_date} |