import { FormControl, Grid} from "@mui/material"; import PropTypes from "prop-types"; import Input from "../common/Input"; const AmbulanceCategoryForm = ({ values, touched, handleBlur, errors, handleChange, setFieldValue, handleSubmit, }) => { AmbulanceCategoryForm.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, }; return (
{errors.ambulanceCategory} ) : null } />
); }; export default AmbulanceCategoryForm;