import { useState } from 'react'; import { Form, FloatingLabel, Button } from 'react-bootstrap'; import '@/css/PasswordInput.css'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faEye, faEyeSlash, faKey } from '@fortawesome/free-solid-svg-icons'; const PasswordInput = ({ value, onChange, name = "password" }) => { const [show, setShow] = useState(false); const toggleShow = () => setShow(prev => !prev); return (