Created
July 30, 2021 22:14
-
-
Save efleming969/13de9533711a138f93a0665b200bb24c to your computer and use it in GitHub Desktop.
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
import View from "../../components/View" | |
import { h, Component } from "preact" | |
export default class AddGameWithCode extends Component<{}, {}> { | |
render() { | |
return <View title="Add Game"> | |
<label for="code">Code</label> | |
<input id="code" name="code"/> | |
<button>Fetch game data</button> | |
<ul role="list" aria-label="list of players"> | |
<li> | |
<label for="player-joe">joe</label> | |
<input id="player-joe" type="radio"/> | |
</li> | |
</ul> | |
<button type="submit">Submit</button> | |
<div role="alert" aria-label="confirmation">Your game was submitted!</div> | |
</View> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment