import React, { useState } from 'react'; import { Eye, EyeOff } from 'lucide-react'; const PasswordInput = ({onChange}) => { const [showPassword, setShowPassword] = useState(false); const [password, setPassword] = useState(''); const togglePasswordVisibility = () => { setShowPassword(!showPassword); }; const changeEvent = (e) => { setPassword(e.target.value); onChange(e); } return (