diff --git a/frontend/src/components/Input.tsx b/frontend/src/components/Input.tsx index 247446ef..4cdf0d0d 100644 --- a/frontend/src/components/Input.tsx +++ b/frontend/src/components/Input.tsx @@ -8,13 +8,13 @@ const Input = ({ value, isAutoFocused = false, placeholder, - label, required = false, maxLength, - className, + className = '', colorVariant = 'silver', borderVariant = 'thick', children, + labelBgClassName = 'bg-white dark:bg-raisin-black', onChange, onPaste, onKeyDown, @@ -32,15 +32,15 @@ const Input = ({ const inputRef = useRef(null); return ( -
+
{children} - {(label || placeholder) && ( + {placeholder && (