From 6bfe08ed8c2269f2d9066cf36718cc09117f14cb Mon Sep 17 00:00:00 2001 From: YangJinSoo94 Date: Fri, 30 May 2025 11:26:46 +0900 Subject: [PATCH] =?UTF-8?q?formUi=20=EB=B3=80=EA=B2=BD=20=ED=9B=84?= =?UTF-8?q?=EB=B3=B4=EC=9E=90=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business_components/src/ui/form_ui/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/common/business_components/src/ui/form_ui/index.tsx b/packages/common/business_components/src/ui/form_ui/index.tsx index ec1854636..b834d5515 100644 --- a/packages/common/business_components/src/ui/form_ui/index.tsx +++ b/packages/common/business_components/src/ui/form_ui/index.tsx @@ -1,8 +1,8 @@ +import { Checkbox } from "@common/components/ui"; import React, { useCallback, useState } from "react"; import { FormControl, FormItem, FormLabel, FormMessage } from "../form"; -import { Button, Checkbox } from "@common/components/ui"; -export const BZNM_TOT_NO = '총사업자등록번호'; +export const BZNM_TOT_NO = '종사업자등록번호'; export const CANDIDATE = '공급처 후보지 선택(필수아님)'; interface FormUiProps extends React.HTMLAttributes { @@ -23,11 +23,11 @@ const FormUi = React.forwardRef( setIsChecked(checked); onCheckboxChange?.(checked); }, [onCheckboxChange]); - console.log(children); return ( {label && {label}} {label === BZNM_TOT_NO && ( + <>
(
+ {children} + )} {label === CANDIDATE && ( @@ -61,4 +63,4 @@ const FormUi = React.forwardRef( ); FormUi.displayName = 'FormUi'; -export { FormUi }; \ No newline at end of file +export { FormUi };