content: import React from 'react';
  import { reduxForm } from 'redux-form'
  import InputField from '../InputField'
  import validate from '../../vendor/validation/validateCategory'
  
  let Form = ({ handleSubmit, categoryErrors }) => {
      return (
          <form onSubmit={ handleSubmit }>
              <InputField name="title" />
              <button className="btn btn-primary" disabled={ !!categoryErrors }>Confirm</button>
          </form>
      );
  };
  
  export default Form = reduxForm({
      form: 'categoryForm',
      validate
  })(Form)