c89010a4f1
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from f976bd5 on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
17 lines
449 B
TypeScript
17 lines
449 B
TypeScript
"use client";
|
||
import { Fragment } from "react";
|
||
|
||
/** "Softshell Jacket · L ×1, EN Scrub Top · L ×2" with the sizes in mono. */
|
||
export function Lines({ lines }: { lines: { garment: string; size: string; qty: number }[] }) {
|
||
return (
|
||
<>
|
||
{lines.map((l, i) => (
|
||
<Fragment key={i}>
|
||
{i > 0 && ", "}
|
||
{l.garment} · <span className="tc-mono">{l.size}</span> ×{l.qty}
|
||
</Fragment>
|
||
))}
|
||
</>
|
||
);
|
||
}
|