@livelike/react-native
Version:
LiveLike React Native package
18 lines • 453 B
JavaScript
import { createStore } from './store';
const initialTextAskStoreValue = {};
export const textAskWidgetStore = createStore(initialTextAskStoreValue);
export const textAskWidgetStoreActions = {
updateTextAskInputTextAction(_ref) {
let {
widgetId,
inputText
} = _ref;
textAskWidgetStore.set({
...textAskWidgetStore.get(),
[widgetId]: {
inputText
}
});
}
};
//# sourceMappingURL=textAskWidget.js.map