import Ohclogo from "./Ohclogo"; import { FormControl, Grid} from "@mui/material"; import PropTypes from "prop-types"; import Input from "../common/Input"; import { InputLabel, MenuItem, Select } from "@mui/material"; const UnitForm = ({ values, touched, handleBlur, errors, handleChange, setFieldValue, handleSubmit, }) => { UnitForm.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 (
{errors.unitId} ) : null } /> {errors.UnitName} ) : null } /> {errors.Remarks} ) : null } />
); }; export default UnitForm;