Added format selector to Create Tournament page

This commit is contained in:
Kristoffer Longva Eriksen 2022-03-17 14:45:36 +01:00
parent da13804bf4
commit 0ba7fa779f
1 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,17 @@ import * as React from "react";
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
import Home_Image from "./components/home_image"; import Home_Image from "./components/home_image";
function Format_Selector(props) {
return (
<div>
<select>
<option value="Single Elimination">Single Elimination</option>
<option value="Double Elimination">Double Elimination</option>
</select>
</div>
);
}
function Save_Button(props) { function Save_Button(props) {
return ( return (
<Link to="/"> <Link to="/">
@ -14,6 +25,7 @@ export default function Create_Tournament(props) {
return ( return (
<React.Fragment> <React.Fragment>
<Home_Image /> <Home_Image />
<Format_Selector />
<Save_Button /> <Save_Button />
</React.Fragment> </React.Fragment>
); );