& {
- label:string,
- selectClass:string|undefined,
- className:string,
- selectArray:SelectBox1[],
- onSelectValue:(val:string|number)=>void,
- value?: string|number
- }
->(({ label, className, selectClass, selectArray, onSelectValue, value }, ref)=>{
- const placeHolder = selectArray?.[0]?.text ?? "";
-
- return (
-
- {label && }
-
-
- )
-})
-
-export { SelectBox2 };
diff --git a/packages/common/business_components/src/ui/select/index.tsx b/packages/common/business_components/src/ui/select/index.tsx
index d09e3023a..82db6da45 100644
--- a/packages/common/business_components/src/ui/select/index.tsx
+++ b/packages/common/business_components/src/ui/select/index.tsx
@@ -27,6 +27,7 @@ const SelectBox = React.forwardRef<
onSelectValue: (val: string | number) => void;
value?: string | number;
readOnly?: boolean; // readOnly 속성 추가
+ selectContentClass?: string;
}
>(
(
@@ -38,6 +39,7 @@ const SelectBox = React.forwardRef<
onSelectValue,
value,
readOnly = false,
+ selectContentClass,
},
ref,
) => {
@@ -87,7 +89,7 @@ const SelectBox = React.forwardRef<
>
-
+
{visibleItems.map((selectArray) => (
{selectArray.text}