From 41e872d37677e8eba75a868f07205319889ffe9f Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Thu, 28 Apr 2022 14:25:09 +0800
Subject: ...

---
 FrontEnd/src/views/register/index.tsx | 55 +++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 FrontEnd/src/views/register/index.tsx

(limited to 'FrontEnd/src/views/register/index.tsx')

diff --git a/FrontEnd/src/views/register/index.tsx b/FrontEnd/src/views/register/index.tsx
new file mode 100644
index 00000000..da59ef94
--- /dev/null
+++ b/FrontEnd/src/views/register/index.tsx
@@ -0,0 +1,55 @@
+import React from "react";
+
+const RegisterPage: React.FC = () => {
+  const [username, setUsername] = React.useState<string>("");
+  const [password, setPassword] = React.useState<string>("");
+  const [confirmPassword, setConfirmPassword] = React.useState<string>("");
+  const [registerCode, setRegisterCode] = React.useState<string>("");
+
+  return (
+    <div>
+      <div>
+        <label>Username</label>
+        <input
+          type="text"
+          value={username}
+          onChange={(e) => {
+            setUsername(e.target.value);
+          }}
+        />
+      </div>
+      <div>
+        <label>Password</label>
+        <input
+          type="password"
+          value={password}
+          onChange={(e) => {
+            setPassword(e.target.value);
+          }}
+        />
+      </div>
+      <div>
+        <label>Confirm Password</label>
+        <input
+          type="password"
+          value={confirmPassword}
+          onChange={(e) => {
+            setConfirmPassword(e.target.value);
+          }}
+        />
+      </div>
+      <div>
+        <label>Register Code</label>
+        <input
+          type="text"
+          value={registerCode}
+          onChange={(e) => {
+            setRegisterCode(e.target.value);
+          }}
+        />
+      </div>
+    </div>
+  );
+};
+
+export default RegisterPage;
-- 
cgit v1.2.3

