Add registration form v1.

This commit is contained in:
codevictory
2021-11-02 23:33:04 +02:00
parent 00c8d97ca5
commit f115032ae3
5 changed files with 140 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import './App.css';
import { Header } from "./components/header";
import { Registration } from './components/registration';
import { RegForm } from './components/regForm';
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
export default function App() {
@@ -12,7 +12,7 @@ export default function App() {
<Header />
</div>
</Route>
<Route path="/registration/:id" component={Registration} />
<Route path="/registration/:id" component={RegForm} />
</Switch>
</Router>
);