mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
import { useContext } from 'react'
|
|
import { WizardContext, ACTIONS } from '../context/wizardStore'
|
|
|
|
import Form from 'react-bootstrap/Form'
|
|
import Col from 'react-bootstrap/Col'
|
|
|
|
export default function Contact() {
|
|
const { state, dispatch } = useContext(WizardContext)
|
|
|
|
const { multipleDays, startDate, endDate } = state
|
|
|
|
return (
|
|
<>
|
|
<Form.Group>
|
|
<Form.Label>Name</Form.Label>
|
|
<Form.Control type="text" id="name" placeholder="Name" />
|
|
</Form.Group>
|
|
<Form.Group>
|
|
<Form.Label>E-Mail</Form.Label>
|
|
<Form.Control type="email" id="email" placeholder="E-Mail" />
|
|
</Form.Group>
|
|
<Form.Group>
|
|
<Form.Label>Straße</Form.Label>
|
|
<Form.Control type="text" id="street" placeholder="Straße" />
|
|
</Form.Group>
|
|
<Form.Row>
|
|
<Form.Group as={Col} xs={4}>
|
|
<Form.Label>PLZ</Form.Label>
|
|
<Form.Control type="text" id="plz" placeholder="PLZ" />
|
|
</Form.Group>
|
|
<Form.Group as={Col}>
|
|
<Form.Label>Stadt</Form.Label>
|
|
<Form.Control type="text" id="city" placeholder="Stadt" />
|
|
</Form.Group>
|
|
</Form.Row>
|
|
</>
|
|
)
|
|
}
|