/** * FormActions - 폼 하단 액션 버튼 그룹 */ import { ReactNode } from "react"; import { Button } from "../ui/button"; import { Save, X } from "lucide-react"; export interface FormActionsProps { onSave?: () => void; onCancel?: () => void; saveLabel?: string; cancelLabel?: string; saveDisabled?: boolean; cancelDisabled?: boolean; saveLoading?: boolean; children?: ReactNode; className?: string; align?: 'left' | 'center' | 'right'; } export function FormActions({ onSave, onCancel, saveLabel = "저장", cancelLabel = "취소", saveDisabled = false, cancelDisabled = false, saveLoading = false, children, className = "", align = 'right', }: FormActionsProps) { const alignClasses = { left: "justify-start", center: "justify-center", right: "justify-end", }; return (