import {Input} from "@heroui/react"; export default function App() { const [password, setPassword] = React.useState(""); const errors = []; if (password.length < 4) { errors.push("Password must be 4 characters or more."); } if ((password.match(/[A-Z]/g) || []).length < 1) { errors.push("Password must include at least 1 upper case letter"); } if ((password.match(/[^a-z]/gi) || []).length < 1) { errors.push("Password must include at least 1 symbol."); } return ( (