frontend/src/screens/Schedule.js

47 lines
975 B
JavaScript
Raw Normal View History

2020-05-28 13:08:31 +00:00
import React, { useState } from 'react';
import {
Container,
Form,
FormControl,
FormGroup,
Input,
Divider,
2020-05-28 13:08:31 +00:00
Icon,
} from 'rsuite';
import { DateTime } from 'luxon';
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';
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>
</Form>
</Container>
);
}