📅  最后修改于: 2022-03-11 14:53:12.655000             🧑  作者: Mango
const [username, userInput] = useInput({ type: "text" });
const [password, passwordInput] = useInput({ type: "text" });
return <>
{userInput} -> {username}
{passwordInput} -> {password}
>;