UNPKG

@livelike/react-native

Version:

LiveLike React Native package

21 lines (20 loc) 664 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.messageItemPopoverStoreActions = exports.messageItemPopoverStore = void 0; var _store = require("./store"); const DEFAULT_POPOVER_DETAIL = { messageId: '', popoverType: undefined }; const messageItemPopoverStore = exports.messageItemPopoverStore = (0, _store.createStore)(DEFAULT_POPOVER_DETAIL); const messageItemPopoverStoreActions = exports.messageItemPopoverStoreActions = { showPopover(args) { messageItemPopoverStore.set(args); }, hidePopover() { messageItemPopoverStore.set(DEFAULT_POPOVER_DETAIL); } }; //# sourceMappingURL=mesageItemPopover.js.map