rsnext/examples/with-apollo-and-redux-saga/lib/count/actions.js

13 lines
270 B
JavaScript
Raw Normal View History

export const actionTypes = {
COUNT_INCREASE: 'COUNT_INCREASE',
COUNT_DECREASE: 'COUNT_DECREASE'
}
export function countIncrease () {
return { type: actionTypes.COUNT_INCREASE }
}
export function countDecrease () {
return { type: actionTypes.COUNT_DECREASE }
}