import { useState } from "react"; import { TextField } from "@material-ui/core"; const HomePage = () => { const [port, setPort] = useState("7890"); return (
setPort(e.target.value)} />
); }; export default HomePage;