📜  react hooks html imput on change - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:12.655000             🧑  作者: Mango

代码示例2
const [username, userInput] = useInput({ type: "text" });
 const [password, passwordInput] = useInput({ type: "text" });

 return <>
   {userInput} -> {username} 
{passwordInput} -> {password} ;