exact-resistor-calculator/src/actions/calcActions.js
Tanner Collin 7f6fc32d74 Commit everything done until beginning version control
Removed the boilerplate's counter, started a drawer menu, added a
toolbar to access the menu, created the calculator form and state.
2017-02-01 22:52:00 -07:00

20 lines
276 B
JavaScript

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,
};
}