you can now play with number of items to add

This commit is contained in:
Senad Uka
2015-02-05 07:05:06 +01:00
parent b6465a7240
commit 4e0f3ecee2
7 changed files with 156 additions and 16 deletions

View File

@@ -0,0 +1,10 @@
var keyMirror = require('react/lib/keyMirror');
// Define action constants
module.exports = keyMirror({
LOAD: null,
ADD_ITEM: null,
// because removeItem can be used to completely remove item
// and not just decrease count by 1
TAKE_ITEM_OUT: null
});