Docs/Comments to registration form component
This commit is contained in:
parent
d9068949cd
commit
c7c38d4201
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ import Button from "./Button";
|
||||||
import InputField from "./InputField";
|
import InputField from "./InputField";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a registration form for the admin to add new users in.
|
||||||
|
* @returns The JSX element representing the registration form.
|
||||||
|
*/
|
||||||
export default function Register(): JSX.Element {
|
export default function Register(): JSX.Element {
|
||||||
const [username, setUsername] = useState<string>();
|
const [username, setUsername] = useState<string>();
|
||||||
const [password, setPassword] = useState<string>();
|
const [password, setPassword] = useState<string>();
|
||||||
|
|
Loading…
Reference in a new issue