title: Formik pass customized Props to custom Field Component
body: <p>Good evening everyone,
  I am having a small issue with custom Formik Fields..</p>
  <p>I am using an own custom <code>Field</code> such as:</p>
  <pre><code>&lt;Field name=&quot;pdfFile&quot; component={FileUpload} /&gt;
  </code></pre>
  <p>FileUpload Props look like:</p>
  <pre><code>interface FileUploadProps {
      field: FieldInputProps&lt;any&gt;; //These props should probably be derived from Formik
      form: FormikProps&lt;any&gt;;
      width: string;
      height: string;
  }
  </code></pre>
  <p>field and form are correctly passed into the component, but how can I pass width and height into the component? Tried it like, but without success.</p>
  <pre><code>&lt;Field 
      name=&quot;pdfFile&quot; 
      component={(props: any) =&gt; (
          &lt;FileUpload
              field={props.field}
              form={props.form}
              width={pdfWidth}
              height={pdfHeight}
          /&gt;
      )} 
  /&gt;  
  </code></pre>
  <p>Formik API unfortunately doesn't mention how to solve this problem. Has anyone experienced similar issues and knows how to resolve this?</p>
  <p>Thanks a lot for your help!</p>