diff --git a/src/Components/PatientForm/PatientForm.tsx b/src/Components/PatientForm/PatientForm.tsx index b10cd2c..e258f90 100644 --- a/src/Components/PatientForm/PatientForm.tsx +++ b/src/Components/PatientForm/PatientForm.tsx @@ -3,7 +3,7 @@ import Typography from '@mui/material/Typography'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import Footer from "../Footer"; import Header from "../Header"; -import {Button, Checkbox, FormControlLabel, FormGroup, Grid, Paper, Radio, RadioGroup, TextField } from '@mui/material'; +import {Button, Checkbox, FormControlLabel, FormGroup, FormLabel, Grid, Paper, Radio, RadioGroup, TextField } from '@mui/material'; import PersonalSection from './PersonalSection1'; import { styled } from '@mui/material/styles'; import ArrowForwardIosSharpIcon from '@mui/icons-material/ArrowForwardIosSharp'; @@ -75,6 +75,7 @@ interface Patient { export default function PatientForm(){ const [expanded, setExpanded] = React.useState('panel1'); const [isChecked, setIsChecked] = React.useState(false); + const [signature,setSignature]=React.useState(''); const [patient, setPatient] = React.useState({ fullName: "", @@ -202,27 +203,42 @@ export default function PatientForm(){ - - } - label="I hereby state that all the information I have provided is complete and truthful and that I have fully disclosed my health history." - /> - - + + + + } + label="I hereby state that all the information I have provided is complete and truthful and that I have fully disclosed my health history." + /> + + + + + { + setSignature(event.target.value) + }} + /> + + -