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.
This commit is contained in:
2017-02-01 22:52:00 -07:00
parent ff17b2a0d3
commit 7f6fc32d74
28 changed files with 607 additions and 94 deletions

View File

@@ -0,0 +1,7 @@
export const UPDATEVALUE = 'UPDATEVALUE';
export const UPDATEMULT = 'UPDATEMULT';
export const MENUOPEN = 'MENUOPEN';
export const MENUCLOSE = 'MENUCLOSE';
export const MAIN = 'MAIN';
export const HELP = 'HELP';
export const SETREF = 'SETREF';

View File

@@ -0,0 +1,19 @@
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,
};
}

View File

@@ -0,0 +1,25 @@
import * as types from './actionTypes';
export function menuopen() {
return {
type: types.MENUOPEN
};
}
export function menuclose() {
return {
type: types.MENUCLOSE
};
}
export function main() {
return {
type: types.MAIN
};
}
export function help() {
return {
type: types.HELP
};
}