text: import React from 'react';
  import { Field, reduxForm } from 'redux-form';
  import { Link } from "react-router-dom";
  
  let Signup = props => {
    const { handleSubmit } = props
    return (
      <form onSubmit={handleSubmit}>
      	<h2>Sign up!</h2>
      	<div>
  	        <label htmlFor="email">Email</label>
  	        <Field name="email" component="input" type="email" />
        	</div>
       	<div>
  	        <label htmlFor="password">Password</label>
  	        <Field name="password" component="input" type="text" />
        	</div>
        	<button type="submit">Submit</button>
        	<p>Already have and account? <br/> Click <Link to="/login">here</Link></p>
      </form>
    )
  }
  
  Signup = reduxForm({
    // a unique name for the form
    form: 'signup'
  })(Signup)
  
  export default Signup