diff --git a/react-redux-master/src/actions/index.js b/react-redux-master/src/actions/index.js index 14420cb6c6..81c616946f 100644 --- a/react-redux-master/src/actions/index.js +++ b/react-redux-master/src/actions/index.js @@ -1 +1,10 @@ //actions +//actions +const increment = (val) => { + return { + type : 'INCREMENT', + inc : val + } +} + +export default increment;