search bar에 값 입력하는 형태로 component 구현.

This commit is contained in:
truthwing
2025-03-10 13:26:39 +09:00
parent 87031def3c
commit 021a282655
4 changed files with 60 additions and 3 deletions
@@ -16,10 +16,10 @@ const SelectBox = React.forwardRef<
const placeHolder = selectArray?.[0]?.text ?? "";
return (
<div className={className+" flex"} ref={ref}>
{label && <Label className="m-4 text-xs w-1/4">{label}</Label>}
<div className={className+" flex items-center"} ref={ref}>
{label && <Label className="m-4 text-lg w-1/4">{label}</Label>}
<Select>
<SelectTrigger className="ml-8 flex w-3/4">
<SelectTrigger className="ml-8 w-3/4 text-lg">
<SelectValue placeholder={placeHolder} />
</SelectTrigger>
<SelectContent>