clash-verge/src/pages/home.tsx

20 lines
354 B
TypeScript
Raw Normal View History

2021-12-04 09:31:26 +03:00
import { useState } from "react";
import { TextField } from "@material-ui/core";
const HomePage = () => {
const [port, setPort] = useState("7890");
return (
<div>
<TextField
label="Port"
fullWidth
value={port}
onChange={(e) => setPort(e.target.value)}
/>
</div>
);
};
export default HomePage;