const [username, userInput] = useInput({ type: "text" }); const [password, passwordInput] = useInput({ type: "text" }); return <> {userInput} -> {username} <br /> {passwordInput} -> {password} </>;