mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
feat: finish main layout
This commit is contained in:
@@ -1,18 +1,10 @@
|
||||
import { useState } from "react";
|
||||
import { TextField } from "@material-ui/core";
|
||||
import { Typography } from "@mui/material";
|
||||
|
||||
const HomePage = () => {
|
||||
const [port, setPort] = useState("7890");
|
||||
|
||||
return (
|
||||
<div>
|
||||
<TextField
|
||||
label="Port"
|
||||
fullWidth
|
||||
value={port}
|
||||
onChange={(e) => setPort(e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
<Typography variant="h1" textAlign="center" mt={10}>
|
||||
Hello Clash!
|
||||
</Typography>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user