31 lines
970 B
TypeScript
31 lines
970 B
TypeScript
import { usageProcData } from "@/app/store/matDmd/coMatRvw/headList";
|
|
import { UiTable } from "@common/business_components/ui";
|
|
import { Popover, PopoverContent, PopoverTrigger } from "@common/components";
|
|
import { Children } from "react";
|
|
|
|
export default function UsageProcData({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<Popover>
|
|
<PopoverTrigger>{children}</PopoverTrigger>
|
|
|
|
<PopoverContent className="w-[25vw] max-w-none h-[54vh]">
|
|
<UiTable
|
|
className=""
|
|
headName={"용도에 따른 처리공정"}
|
|
tableData={usageProcData}
|
|
headlist={[
|
|
{ id: "usage", title: "용도" },
|
|
{ id: "process", title: "단위공정" },
|
|
]}
|
|
pageSize={0}
|
|
total={0}
|
|
cellClick={() => {}}
|
|
onPageChange={() => {}}
|
|
/>
|
|
</PopoverContent>
|
|
</Popover>
|
|
</>
|
|
);
|
|
}
|