(
disabled,
rightIconAction = () => {},
onSubmit = () => {},
- height,
buttonText = '검색',
isError,
...props
- }: InputProps,
+ },
ref,
) => {
const [isFocused, setIsFocused] = useState(false);
const handleFocus = useCallback(() => setIsFocused(true), []);
const handleBlur = useCallback(() => setIsFocused(false), []);
+
return (
(
bgcolor,
variant,
height,
+ size,
disabled,
isError,
})}
>
{isLeftIcon && }
(
{...props}
/>
{isRightIcon && rightIcon && (
-