exact-resistor-calculator/src/actions/calcActions.js

20 lines
276 B
JavaScript
Raw Normal View History

import * as types from './actionTypes';
export function updatevalue(form, index, value) {
return {
type: types.UPDATEVALUE,
form,
index,
value,
};
}
export function updatemult(form, index, mult) {
return {
type: types.UPDATEMULT,
form,
index,
mult,
};
}