feat, refactor:

- 수용가-맨홀 매칭결과 양식 파일 다운로드 기능 추가
- 파일 다운로드 버튼 색상 green으로 변경
This commit is contained in:
swcho
2025-08-19 18:23:47 +09:00
parent 40e0dde0e0
commit 4845450ea5
7 changed files with 70 additions and 54 deletions
+3 -2
View File
@@ -6,12 +6,13 @@ interface FormSectionProps {
titleNm: string
form: any
name: string
required?: boolean
}
const FormSection = ({ children, titleNm, form, name }: FormSectionProps) => {
const FormSection = ({ children, titleNm, form, name, required }: FormSectionProps) => {
return (
<div className="grid grid-cols-[200px_1fr] items-center">
<div className="text-xl font-medium">{titleNm}</div>
<div className="text-xl font-medium">{titleNm}{required && <span className="text-2xl text-red-500">*</span>}</div>
<FormField
control={form.control}
name={name}