0

如何在我的子组件 ProjectsTable 中访问 Formik FieldArray arrayHelpers?

 <form>
      <FieldArray name="projects"
         render={arrayHelpers => (<ProjectsTable {...this.props}/>)}
 </form>

4

1 回答 1

0

看起来就像这样简单:

 <ProjectsTable arrayHelpers={arrayHelpers} {...otherprops} />
于 2018-06-12T19:29:40.947 回答