"use client"; import React from "react"; import { Label } from "@/components/ui/label"; import { Input } from "@/components/ui/input"; interface ManualConfigPanelProps { config?: { value?: string; placeholder?: string; }; onChange: (config: any) => void; isPreview?: boolean; } export const ManualConfigPanel: React.FC = ({ config = {}, onChange, isPreview = false, }) => { return (
onChange({ ...config, value: e.target.value })} placeholder={config.placeholder || "값을 입력하세요"} disabled={isPreview} className="h-8 text-xs sm:h-10 sm:text-sm" />

코드 생성 시 이 값이 그대로 사용됩니다

onChange({ ...config, placeholder: e.target.value })} placeholder="예: 부서코드 입력" disabled={isPreview} className="h-8 text-xs sm:h-10 sm:text-sm" />
); };