basic theme editor
This commit is contained in:
parent
4960df370c
commit
bacd1777be
1 changed files with 138 additions and 38 deletions
|
|
@ -3,7 +3,7 @@ import {useMutation} from '@tanstack/react-query';
|
|||
|
||||
import {makeApiUrl} from './serverCalls';
|
||||
import Button from './components/Button.tsx';
|
||||
import TextInput from './components/TextInput.tsx';
|
||||
import {TextInput} from './components/Input.tsx';
|
||||
import Dialog from './components/Dialog.tsx';
|
||||
import './JoinForm.css';
|
||||
|
||||
|
|
@ -30,8 +30,7 @@ export default function JoinForm({onDone}: {
|
|||
|
||||
const confirm = () => postPlayer.mutate({name});
|
||||
|
||||
return <Dialog className="JoinForm">
|
||||
<h3> Enter your name to play </h3>
|
||||
return <Dialog className="JoinForm" title="Enter your name to play">
|
||||
<TextInput
|
||||
value={name}
|
||||
placeholder="player name"
|
||||
|
|
|
|||
Reference in a new issue