redux form fields code example
Example 1: redux-form field type file
const file_upload= ({ input, type, meta: { touched, error, warning } }) => {
delete input.value
return (
)
}
Example 2: redux form Field input prop
export default ({ input: { onChange, value }}) => (
);
Example 3: Redux form
import { Form } from 'redux-form' // ES6