UNPKG

@livelike/react-native

Version:

LiveLike React Native package

19 lines 1.14 kB
import { numberPredictionWidgetStoreActions, widgetStoreActions, emojiSliderWidgetStoreActions, textAskWidgetStoreActions } from '../store'; export function useWidgetActions(_ref) { let { widgetId } = _ref; return { updateWidgetUIPhaseAction: widgetStoreActions.updateWidgetUIPhaseAction, updateWidgetChoicesAction: widgetStoreActions.updateWidgetChoicesAction, updateWidgetOptionsAction: widgetStoreActions.updateWidgetOptionsAction, updateSelectedOptionIndexAction: widgetStoreActions.updateSelectedOptionIndexAction, updateWidgetResultStateAction: widgetStoreActions.updateWidgetResultStateAction, updateWidgetStateAction: widgetStoreActions.updateWidgetStateAction, updateWidgetAverageMagnitude: widgetStoreActions.updateWidgetAverageMagnitude, updateNumberPredictionOptionAction: numberPredictionWidgetStoreActions.updateNumberPredictionOptionAction, updateEmojiSliderMagnitudeAction: emojiSliderWidgetStoreActions.updateEmojiSliderMagnitudeAction, updateTextAskInputTextAction: textAskWidgetStoreActions.updateTextAskInputTextAction }; } //# sourceMappingURL=useWidgetActions.js.map