Created
March 18, 2019 13:21
-
-
Save mdmoin7/37231c3d33289fccd8fbe5f92a7c2127 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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