2020-05-28 13:08:31 +00:00
|
|
|
import React, { useState } from 'react';
|
|
|
|
import {
|
|
|
|
Container,
|
|
|
|
Form,
|
|
|
|
FormControl,
|
|
|
|
FormGroup,
|
|
|
|
Input,
|
2020-06-02 09:17:10 +00:00
|
|
|
Divider,
|
2020-05-28 13:08:31 +00:00
|
|
|
Icon,
|
|
|
|
} from 'rsuite';
|
2020-06-02 09:17:10 +00:00
|
|
|
import { DateTime } from 'luxon';
|
2020-05-27 13:51:41 +00:00
|
|
|
|
2020-05-27 18:49:49 +00:00
|
|
|
import TimezonePicker from '../components/General/TimezonePicker';
|
2020-05-28 13:42:36 +00:00
|
|
|
import DaySelector from '../components/Schedule/DaySelector';
|
2020-06-02 09:17:10 +00:00
|
|
|
import DurationSelector from '../components/Schedule/DurationSelector';
|
2020-05-27 13:51:41 +00:00
|
|
|
|
|
|
|
export default function Schedule() {
|
|
|
|
return (
|
|
|
|
<Container>
|
|
|
|
<h3>Schedule a meeting</h3>
|
2020-05-27 18:49:49 +00:00
|
|
|
<Form>
|
2020-05-27 13:51:41 +00:00
|
|
|
<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 />
|
2020-05-27 13:51:41 +00:00
|
|
|
</FormGroup>
|
2020-05-28 13:08:31 +00:00
|
|
|
<FormGroup style={{ width: 200 }}>
|
2020-06-02 09:17:10 +00:00
|
|
|
<DurationSelector />
|
|
|
|
</FormGroup>
|
|
|
|
<FormGroup>
|
|
|
|
<DaySelector />
|
2020-05-28 13:08:31 +00:00
|
|
|
</FormGroup>
|
2020-05-27 13:51:41 +00:00
|
|
|
</Form>
|
|
|
|
</Container>
|
|
|
|
);
|
|
|
|
}
|