frontend/src/screens/Schedule.js

45 lines
1.1 KiB
JavaScript
Raw Normal View History

2020-06-02 10:48:28 +00:00
import React from 'react';
2020-06-02 13:42:48 +00:00
import { Container, Form, FormControl, FormGroup, Input, Button } from 'rsuite';
2020-05-27 18:49:49 +00:00
import TimezonePicker from '../components/General/TimezonePicker';
import DaySelector from '../components/Schedule/DaySelector';
import DurationSelector from '../components/Schedule/DurationSelector';
2020-06-02 10:48:28 +00:00
import SelectedDates from '../components/Schedule/SelectedDates';
export default function Schedule() {
return (
<Container>
<h3>Schedule a meeting</h3>
2020-05-27 18:49:49 +00:00
<Form>
<FormGroup>
<FormControl name='title' type='text' placeholder='title' />
</FormGroup>
<FormGroup>
<Input
name='description'
componentClass='textarea'
type='text'
rows={3}
placeholder='Description'
/>
</FormGroup>
<FormGroup>
2020-05-27 18:49:49 +00:00
<TimezonePicker />
</FormGroup>
2020-05-28 13:08:31 +00:00
<FormGroup style={{ width: 200 }}>
<DurationSelector />
</FormGroup>
<FormGroup>
<DaySelector />
2020-05-28 13:08:31 +00:00
</FormGroup>
2020-06-02 10:48:28 +00:00
<FormGroup>
<SelectedDates />
</FormGroup>
2020-06-02 13:42:48 +00:00
<FormGroup>
<Button>Confirm dates</Button>
</FormGroup>
</Form>
</Container>
);
}