"use client"; import { ClipboardCheck } from "lucide-react"; import type { PopWorkDetailConfig } from "../types"; interface PopWorkDetailPreviewProps { config?: PopWorkDetailConfig; } export function PopWorkDetailPreviewComponent({ config }: PopWorkDetailPreviewProps) { const labels = config?.phaseLabels ?? { PRE: "작업 전", IN: "작업 중", POST: "작업 후" }; return (
작업 상세
{Object.values(labels).map((l) => ( {l} ))}
); }