I'm using ReduxForm with two types of form : 

* inside Modals
* inside Tabs.

Depends of the form' type, I have to adapt my reduxForm 'connect' parameter.

With Tab, I need : 

* destroyOnUnmount
* enableReinitialize
* [ ... ]

With Modal, I dont want them. 

My Form is getting form's type by Props, but I can't use it to adapt my reduxForm.

```
export defaut ReduxForm({
   form : 'testForm',
   destroyOnUnmount : false,
   enableReinitialize: true ,
   [...] 
  })(MyForm)

```

I have no idea how to adapt this.

Thanks