"use client"; import { Form, FormField, SelectBox, } from "@common/business_components/ui"; import { Input } from "@common/components/ui"; import { zodResolver } from "@hookform/resolvers/zod"; import { useForm } from "react-hook-form"; import { z } from "zod"; import { FormUi } from "@common/business_components"; import { useWrStore } from "@/app/store"; import { selectClass } from "@/app/store/rainReuseFacilityInsert"; const formSchema = z.object({ username: z.string().min(2).max(50), facilityName: z.string().min(2).max(50), }); export function RainReuseFaciltyInsertForm() { const { rain } = useWrStore((state) => state); const form = useForm>({ resolver: zodResolver(formSchema), defaultValues: { username: "", }, }); // 2. Define a submit handler. function onSubmit(values: z.infer) { // Do something with the form values. // ✅ This will be type-safe and validated. console.log(values); } const onSelectValue=(val:string)=>{ console.log(val) } return (
{/*
*/}

○ 빗물이용시설 운영정보

기본정보

( )} />
( )} />

빗물이용시설 정보

✓ 1. 집수면

( )} />
( )} />

✓ 2. 여과 등 처리시설

( )} />
( )} />
( )} />

인센티브 정보

✓ 1. 설치비 지원

( )} />
( )} />

✓ 2. 녹색건축물 인증

( )} />
( )} />
( )} />
( )} />
); }