Repository URL to install this package:
|
Version:
0.0.5 ▾
|
import * as tslib_1 from "tslib";
import { observer } from 'xmobx/mobx-react';
import { observable } from 'xmobx/mobx';
class ResetStore {
constructor() {
this.resetStep = 'resetPassword';
this.gotoResetOption = (resetCode) => {
this.resetStep = 'resetOptions';
};
this.gotoResetBySecurityQuestion = () => {
this.resetStep = 'resetBySecurityQuestion';
};
this.gotoResetByPhoneOrEmail = () => {
this.resetStep = 'resetByPhoneEmailQuest';
};
this.goBackToSignIn = (props) => {
this.resetStep = 'resetPassword';
props.onBack();
};
}
}
tslib_1.__decorate([
observable
], ResetStore.prototype, "resetStep", void 0);
const resetStoreContainer = new ResetStore();
export { resetStoreContainer, observer };
export default resetStoreContainer;
//# sourceMappingURL=resetStoreContainer.js.map