add calculator-react

This commit is contained in:
2020-06-08 18:18:42 -07:00
parent 09f76acd55
commit 36f827027c
51 changed files with 16598 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import { SETOPERATIONSTRING } from "../actions/operationStringAction";
export default (state, action) => {
if (!state) {
state = '';
}
switch (action.type) {
case SETOPERATIONSTRING:
return action.operationString;
default:
return state;
};
};