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