group update

This commit is contained in:
Виталий Лавшонок
2025-11-03 23:24:20 +03:00
parent 9a2c2a9589
commit 193234b9e5
6 changed files with 78 additions and 19 deletions

View File

@@ -35,6 +35,7 @@ export const Input: React.FC<inputProps> = ({
React.useEffect(() => onChange(value), [value]);
return (
<div className={cn(
"relative",
@@ -51,6 +52,7 @@ export const Input: React.FC<inputProps> = ({
"bg-liquid-lighter w-full rounded-[10px] outline-none pl-[16px] py-[8px] placeholder:text-liquid-light",
type == "password" ? "h-[40px]" : "h-[36px]"
)}
value={value}
name={name}
autoComplete={autocomplete}
type={type == "password" ? (visible ? "text" : "password") : type}