-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed the graphing * Added the Browser router and adjusted the graph * Finished a preliminary full team graph * Created a Team Look Up page * waka * added qr code * added a sorter to the table * Fixed the NavBar for mobile
- Loading branch information
1 parent
16c8070
commit 1c73213
Showing
11 changed files
with
267 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Autocomplete, TextField } from "@mui/material"; | ||
import React from "react"; | ||
import { useTeleopContext } from "../ContextProvider"; | ||
import { GetTeamsEvent } from "../Data"; | ||
|
||
const opts = ["Not Attempted", "Attempted but Failed", "Succesful"]; | ||
|
||
export default function TrapSelector() { | ||
const { teleop, setTeleop } = useTeleopContext(); | ||
|
||
return ( | ||
<Autocomplete | ||
value={teleop.Trap} | ||
onChange={(event: any, newValue: string | null) => { | ||
if (!newValue) return; | ||
setTeleop({ | ||
...teleop, | ||
Trap: newValue, | ||
}); | ||
}} | ||
clearOnEscape | ||
options={opts} | ||
sx={{ width: 300 }} | ||
renderInput={(params) => <TextField {...params} label="Trap" />} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.