mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
chore: init project
This commit is contained in:
19
src/pages/home.tsx
Normal file
19
src/pages/home.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user