import { useState } from 'react'; import { Icon } from '@/app/Icon'; interface PasswordInputProps { value: string; onChange: (value: string) => void; placeholder: string; autoComplete?: string; error?: string; maxLength?: number; } export function PasswordInput({ value, onChange, placeholder, autoComplete, error, maxLength }: PasswordInputProps) { const [visible, setVisible] = useState(false); return (