@randy.tarampi/jsx
Version:
Some common JSX components for www.randytarampi.ca
23 lines (18 loc) • 811 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = exports.userPhoneChanged = exports.crispUserPhoneChangedCreator = exports.CRISP_USER_PHONE_CHANGED = void 0;
var _reduxActions = require("redux-actions");
var CRISP_USER_PHONE_CHANGED = "CRISP_USER_PHONE_CHANGED";
exports.CRISP_USER_PHONE_CHANGED = CRISP_USER_PHONE_CHANGED;
var crispUserPhoneChangedCreator = function crispUserPhoneChangedCreator(phone) {
return function (dispatch) {
dispatch(userPhoneChanged(phone));
};
};
exports.crispUserPhoneChangedCreator = crispUserPhoneChangedCreator;
var userPhoneChanged = (0, _reduxActions.createAction)(CRISP_USER_PHONE_CHANGED);
exports.userPhoneChanged = userPhoneChanged;
var _default = crispUserPhoneChangedCreator;
exports["default"] = _default;