From a364a860fa5dc0ba4cfa1d224419fe5e8ba8e126 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Tue, 30 Sep 2025 15:43:48 +0700 Subject: [PATCH] chore: update PasswordInput component --- src/components/input/PasswordInput.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/input/PasswordInput.tsx b/src/components/input/PasswordInput.tsx index 993915fc..86be59d7 100644 --- a/src/components/input/PasswordInput.tsx +++ b/src/components/input/PasswordInput.tsx @@ -6,8 +6,10 @@ import { Icon } from '@iconify/react'; import TextInput, { TextInputProps } from '@/components/input/TextInput'; import Button from '@/components/Button'; -interface PasswordInputProps - extends Omit {} +type PasswordInputProps = Omit< + TextInputProps, + 'type' | 'startAdornment' | 'endAdornment' +>; const PasswordInput = (props: PasswordInputProps) => { const [type, setType] = useState('password');