'use client' import { useState } from 'react' interface PasswordInputProps { value: string onChange: (value: string) => void label?: string placeholder?: string error?: string | null disabled?: boolean required?: boolean className?: string id?: string autoComplete?: string minLength?: number onFocus?: () => void onBlur?: () => void } export default function PasswordInput({ value, onChange, label = 'Password', placeholder = 'Enter password', error, disabled = false, required = false, className = '', id, autoComplete, minLength, onFocus, onBlur }: PasswordInputProps) { const [showPassword, setShowPassword] = useState(false) const inputId = id || 'password-input' const errorId = `${inputId}-error` return (
{error}
)}