Skip to content

Instantly share code, notes, and snippets.

@mdmoin7
Created March 18, 2019 13:21
Show Gist options
  • Save mdmoin7/37231c3d33289fccd8fbe5f92a7c2127 to your computer and use it in GitHub Desktop.
Save mdmoin7/37231c3d33289fccd8fbe5f92a7c2127 to your computer and use it in GitHub Desktop.
const INCREMENT='INCREMENT';
const DECREMENT='DECREMENT';
const incrementCount=()=>({
type: INCREMENT
});
const decrementCount=()=>{
return {
type:DECREMENT
};
}
export {INCREMENT,incrementCount,decrementCount,DECREMENT};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment