"use client"; import { useI18n } from "@/lib/i18n/useI18n"; import type { RecapSkuRow } from "@/lib/recap/types"; type Props = { rows: RecapSkuRow[]; }; export default function RecapProductionBySku({ rows }: Props) { const { t } = useI18n(); return (
| {t("recap.production.sku")} | {t("recap.production.good")} | {t("recap.production.scrap")} |
|---|---|---|
| {row.sku} | {row.good} | 0 ? "text-red-300" : ""}`}>{row.scrap} |