UNPKG

@livelike/react-native

Version:

LiveLike React Native package

24 lines (23 loc) 663 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.textAskWidgetStoreActions = exports.textAskWidgetStore = void 0; var _store = require("./store"); const initialTextAskStoreValue = {}; const textAskWidgetStore = exports.textAskWidgetStore = (0, _store.createStore)(initialTextAskStoreValue); const textAskWidgetStoreActions = exports.textAskWidgetStoreActions = { updateTextAskInputTextAction(_ref) { let { widgetId, inputText } = _ref; textAskWidgetStore.set({ ...textAskWidgetStore.get(), [widgetId]: { inputText } }); } }; //# sourceMappingURL=textAskWidget.js.map