-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathindex.js
More file actions
68 lines (67 loc) · 2.03 KB
/
index.js
File metadata and controls
68 lines (67 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import React, { useState } from "react";
import Calendar from "react-calendar";
import { Typography } from "@material-ui/core";
import "react-calendar/dist/Calendar.css";
//import Calendar from '../Appointment/Calendar';
import Radio from "@mui/material/Radio";
import RadioGroup from "@mui/material/RadioGroup";
import FormControlLabel from "@mui/material/FormControlLabel";
import appointmentFormStyle from "../styles";
function Appointment() {
const classes = appointmentFormStyle();
const [value, onChange] = useState(new Date());
return (
<div className={classes.calenderWrap}>
<Calendar onChange={onChange} value={value} className={classes.calenderField} />
<div
className="radio-text"
style={{
background: "#F2F0FA",
paddingBottom:'53px'
// height: "215px",
}}
>
<RadioGroup
style={{
display: "flex",
flexDirection: "row",
paddingTop: "16px",
paddingLeft: "20px",
}}
aria-labelledby="demo-controlled-radio-buttons-group"
name="controlled-radio-buttons-group"
>
<FormControlLabel
value="morning"
control={<Radio />}
label="11:30 AM - 2:30 PM EST"
/>
<FormControlLabel
value="evening"
control={<Radio />}
label="4:00 PM - 5:30 PM EST"
/>
</RadioGroup>
<Typography
variant="p"
style={{
paddingLeft: "34px",
paddingTop: "25px",
width: "97%",
display: "flex",
fontFamily: "Poppins",
fontStyle: "italic",
fontWeight: "400",
fontSize: "15px",
lineHeight: "24px",
color: "#6C6F7C",
}}
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque
interdum, diam vel fermentum posuere, enim massa.
</Typography>
</div>
</div>
);
}
export default Appointment;