@livelike/react-native
Version:
LiveLike React Native package
22 lines (21 loc) • 644 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.reactionPackStoreActions = exports.reactionPackStore = void 0;
var _store = require("./store");
const initialReactionPack = {};
const reactionPackStore = exports.reactionPackStore = (0, _store.createStore)(initialReactionPack);
const reactionPackStoreActions = exports.reactionPackStoreActions = {
updateReactionPackAction(_ref) {
let {
reactionSpaceId,
reactionPacks
} = _ref;
reactionPackStore.set({
...reactionPackStore.get(),
[reactionSpaceId]: reactionPacks
});
}
};
//# sourceMappingURL=reactionPack.js.map