import React from 'react'; import {Field, reduxForm} from '../../index'; const validateIsRequired = (value) => !value ? 'Field required.' : undefined; const validateMinLength = (minLength) => (value) => value.length < minLength ? `Must be ${minLength} characters or more.` : undefined; const SimpleFormObjectModel = (props) => { const {handleSubmit} = props; return (
); }; export default reduxForm({ form: 'simple', })(SimpleFormObjectModel);