title: Pass values to the state from formik
body: <p>I use formik for forms in my react app.</p>
  
  <pre><code>class myComponent extends Component {
    constructor(props) {
      this.state = {
        inputData: {}
      }
    }
  
  render() {
    return(
      &lt;Formik&gt;{({ errors, handleChange, values }) =&gt; (
        console.log(values);
        &lt;Field type="text" name="address" onChange={handleChange} /&gt;
     )}
     &lt;/Formik&gt;
    )
  }
  }
  </code></pre>
  
  <p>The question: how i can pass values to the state?</p>