Skip to content

Instantly share code, notes, and snippets.

@SathinduGA
Last active September 10, 2018 15:12
Show Gist options
  • Save SathinduGA/e7e3ab8755a3ccb0f121e98e7dbb9122 to your computer and use it in GitHub Desktop.
Save SathinduGA/e7e3ab8755a3ccb0f121e98e7dbb9122 to your computer and use it in GitHub Desktop.
Actions
import { COUNTER_ADD, COUNTER_SUBTRACT } from "./action_types";
export const counterAdd = () => {
return {
type: COUNTER_ADD
};
}
export const counterSubtract = () => {
return {
type: COUNTER_SUBTRACT
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment