@livelike/react-native
Version:
LiveLike React Native package
25 lines (24 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useWidgetActions = useWidgetActions;
var _store = require("../store");
function useWidgetActions(_ref) {
let {
widgetId
} = _ref;
return {
updateWidgetUIPhaseAction: _store.widgetStoreActions.updateWidgetUIPhaseAction,
updateWidgetChoicesAction: _store.widgetStoreActions.updateWidgetChoicesAction,
updateWidgetOptionsAction: _store.widgetStoreActions.updateWidgetOptionsAction,
updateSelectedOptionIndexAction: _store.widgetStoreActions.updateSelectedOptionIndexAction,
updateWidgetResultStateAction: _store.widgetStoreActions.updateWidgetResultStateAction,
updateWidgetStateAction: _store.widgetStoreActions.updateWidgetStateAction,
updateWidgetAverageMagnitude: _store.widgetStoreActions.updateWidgetAverageMagnitude,
updateNumberPredictionOptionAction: _store.numberPredictionWidgetStoreActions.updateNumberPredictionOptionAction,
updateEmojiSliderMagnitudeAction: _store.emojiSliderWidgetStoreActions.updateEmojiSliderMagnitudeAction,
updateTextAskInputTextAction: _store.textAskWidgetStoreActions.updateTextAskInputTextAction
};
}
//# sourceMappingURL=useWidgetActions.js.map