레포트에 페이지번호 컴포넌트 추가

This commit is contained in:
dohyeons
2025-12-18 09:45:07 +09:00
parent 0abe87ae1a
commit 0ed8e686c0
7 changed files with 271 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
"use client";
import { useDrag } from "react-dnd";
import { Type, Table, Image, Minus, PenLine, Stamp as StampIcon } from "lucide-react";
import { Type, Table, Image, Minus, PenLine, Stamp as StampIcon, Hash } from "lucide-react";
interface ComponentItem {
type: string;
@@ -16,6 +16,7 @@ const COMPONENTS: ComponentItem[] = [
{ type: "divider", label: "구분선", icon: <Minus className="h-4 w-4" /> },
{ type: "signature", label: "서명란", icon: <PenLine className="h-4 w-4" /> },
{ type: "stamp", label: "도장란", icon: <StampIcon className="h-4 w-4" /> },
{ type: "pageNumber", label: "페이지번호", icon: <Hash className="h-4 w-4" /> },
];
function DraggableComponentItem({ type, label, icon }: ComponentItem) {