import PropTypes from 'prop-types'; import React from 'react'; import { domOnlyProps } from '../../../utils/reduxFormUtils'; function ResetPasswordForm(props) { const { fields: { email }, handleSubmit, submitting, invalid, pristine } = props; return (
); } ResetPasswordForm.propTypes = { fields: PropTypes.shape({ email: PropTypes.object.isRequired }).isRequired, handleSubmit: PropTypes.func.isRequired, initiateResetPassword: PropTypes.func.isRequired, submitting: PropTypes.bool, invalid: PropTypes.bool, pristine: PropTypes.bool, user: PropTypes.shape({ resetPasswordInitiate: PropTypes.bool }).isRequired }; ResetPasswordForm.defaultProps = { submitting: false, pristine: true, invalid: false }; export default ResetPasswordForm;