4bd30c8713
* Example: Form handler with Redux and React-bootstrap * inputChange refactoring * Destructuring inputChange
5 lines
166 B
JavaScript
5 lines
166 B
JavaScript
import { INPUT_VALUE } from '../constants'
|
|
|
|
export const inputChange = (title, name, val) => dispatch => {
|
|
return dispatch({type: INPUT_VALUE, title, name, val})
|
|
}
|