import React from 'react'; import {Field, reduxForm} from '../../index'; const validationIsRequired = (value) => !value ? 'Field required.' : undefined; const validationMinLength = (value) => value && (value.length < 2) ? 'The minimum length of the value must be 2.' : undefined; const Step3Component = (props) => { const {handleSubmit, prevPage} = props; return (
); }; const Step3 = reduxForm({ form: 'step3', wizard: 'wizardExample', destroyOnUnmount: false, })(Step3Component); export default Step3;