Created
July 5, 2016 16:25
-
-
Save tmcw/fac513fba004af6c81b67f3e50d48098 to your computer and use it in GitHub Desktop.
This file contains 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
module.exports = function makeActions(source) { | |
var MapstateActionCreators = { | |
clean: function(): Object { | |
return { | |
type: MapStateConstants.MAPSTATE_CLEAN, | |
source | |
}; | |
}, | |
zoomIn: function(): Object { | |
return { | |
type: MapStateConstants.MAPSTATE_ZOOM_IN, | |
source | |
}; | |
} | |
}; | |
return MapStateConstants; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment