import { FormControl, Grid } from "@mui/material"; import PropTypes from "prop-types"; import Input from "../common/Input"; import SingleSelect from "../common/SingleSelect" const AddDocDetailForm = ({ values, touched, handleBlur, errors, handleChange, // setFieldValue, handleSubmit, }) => { AddDocDetailForm.propTypes = { values: PropTypes.object.isRequired, touched: PropTypes.object.isRequired, errors: PropTypes.object.isRequired, handleBlur: PropTypes.func.isRequired, handleChange: PropTypes.func.isRequired, setFieldValue: PropTypes.func.isRequired, handleSubmit: PropTypes.func.isRequired, }; const Medselect = ["Active", "Not Active"]; // const isDefault = ["Yes", "No"]; return (