v2.0.0
- Ditched "adapter"
redux-form
API in favor of just exporting components named the same as their Material UI counterparts. #1
Breaking Change
In v1
, where you did
import adapter from 'redux-form-material-ui'
...
<Field name="myField" component="TextField"/>
...
reduxForm({ form: 'myForm', adapter })(MyForm)
...in v2
, you do this:
import { TextField } from 'redux-form-material-ui' // <--- import component directly
...
<Field name="myField" component={TextField}/> // <--- pass component directly
...
reduxForm({ form: 'myForm' })(MyForm) // <--- no adapter