diff --git a/components/forms/Input.tsx b/components/forms/Input.tsx index 426ea598..84fbdbcd 100644 --- a/components/forms/Input.tsx +++ b/components/forms/Input.tsx @@ -9,7 +9,7 @@ interface InputProps extends InputHTMLAttributes { disabled?: boolean prefixClassname?: string wrapperClassName?: string - error?: boolean + hasError?: boolean prefix?: string prefixClassName?: string suffix?: string @@ -22,7 +22,7 @@ const Input = forwardRef((props, ref) => { onChange, maxLength, className, - error, + hasError, wrapperClassName = 'w-full', disabled, prefix, @@ -40,10 +40,9 @@ const Input = forwardRef((props, ref) => { ) : null} {