import { Stack } from "@mui/material"; import Box from '@mui/material/Box'; import Input from "../common/Input"; import PropTypes from "prop-types"; // import Ohclogo from "./Ohclogo"; const RoleForm = ({values, touched, handleBlur, errors, handleChange, setFieldValue, handleSubmit,}) => { RoleForm.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.roleName} ) : null } /> {errors.roleDescription} ) : null } /> {errors.roleHomePage} ) : null } /> {errors.roleCode} ) : null } /> {errors.iconColor} ) : null } /> {errors.iconText} ) : null } /> ) } export default RoleForm;