Initial commit from boilerplate
This commit is contained in:
2
app/actions/actionTypes.js
Normal file
2
app/actions/actionTypes.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export const INCREMENT = 'INCREMENT';
|
||||
export const DECREMENT = 'DECREMENT';
|
13
app/actions/counterActions.js
Normal file
13
app/actions/counterActions.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as types from './actionTypes';
|
||||
|
||||
export function increment() {
|
||||
return {
|
||||
type: types.INCREMENT
|
||||
};
|
||||
}
|
||||
|
||||
export function decrement() {
|
||||
return {
|
||||
type: types.DECREMENT
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user