chore: update PasswordInput component

This commit is contained in:
ValdiANS
2025-09-30 15:43:48 +07:00
parent 8e23a805a9
commit a364a860fa
+4 -2
View File
@@ -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<TextInputProps, 'type' | 'startAdornment' | 'endAdornment'> {}
type PasswordInputProps = Omit<
TextInputProps,
'type' | 'startAdornment' | 'endAdornment'
>;
const PasswordInput = (props: PasswordInputProps) => {
const [type, setType] = useState('password');