diff options
| author | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-17 21:51:22 +0200 |
|---|---|---|
| committer | l3wdfut4pwr <l3wdfut4pwr@gmail.com> | 2026-03-17 21:51:22 +0200 |
| commit | 293df20781b8f0ae6fcbabb1a33b3d1752e494c8 (patch) | |
| tree | 11fdda5346a44a66be97eda49cb61b86c28388b4 /src/components/header | |
| parent | 646c1168349643eb01db53b5e06bf986a16b86d7 (diff) | |
add password toggle button
Diffstat (limited to 'src/components/header')
| -rw-r--r-- | src/components/header/authdialog/LoginForm.tsx | 2 | ||||
| -rw-r--r-- | src/components/header/authdialog/RegisterForm.tsx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/components/header/authdialog/LoginForm.tsx b/src/components/header/authdialog/LoginForm.tsx index c5b606c..0a72f67 100644 --- a/src/components/header/authdialog/LoginForm.tsx +++ b/src/components/header/authdialog/LoginForm.tsx @@ -14,7 +14,7 @@ export default function LoginForm() { </Button> <div className="gap-[10px] flex-col flex h-[88px]"> <InputField placeholder="Никнейм или почта" /> - <InputField placeholder="Пароль" /> + <InputField isPassword placeholder="Пароль" /> </div> </div> <Button className="w-full gap-[10px]">Войти</Button> diff --git a/src/components/header/authdialog/RegisterForm.tsx b/src/components/header/authdialog/RegisterForm.tsx index 20a7c14..3c2c164 100644 --- a/src/components/header/authdialog/RegisterForm.tsx +++ b/src/components/header/authdialog/RegisterForm.tsx @@ -80,6 +80,7 @@ export default function RegisterForm() { <div className="flex flex-col "> <InputField + isPassword placeholder="Пароль" type="password" name="password" @@ -93,6 +94,7 @@ export default function RegisterForm() { <div className="flex flex-col "> <InputField + isPassword placeholder="Повторите пароль" type="password" name="passwordConfirm" |
