import * as React from 'react'; import { Button, FormControl, FormControlLabel, FormLabel, Grid, Paper, Radio, RadioGroup, TextField } from '@mui/material'; import { useFormik } from "formik"; import * as yup from "yup"; import { LocalizationProvider, DatePicker } from '@mui/x-date-pickers'; import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'; import PatientDetails from './PatientDetails'; interface Patient { fullName: string; homePhone: string; cellPhone: string; email: string; age: number | string; dateOfBirth: string; socialSecurityNumber: string; mailingAddress: string; city: string; state: string; zipCode: string; gender: string; maritalStatus: string; } interface Props { personalData: Patient; } export default function PersonalSection({personalData} : Props){ return( <> Gender } label="Male" checked={personalData.gender === 'male'} /> } label="Female" checked={personalData.gender === 'female'} /> ) }