Files
threadcount-community/components/today/Lines.tsx
T
ThreadCount c89010a4f1 ThreadCount Community edition
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).
2026-09-15 23:18:05 +10:00

17 lines
449 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"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>
))}
</>
);
}