Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / features / Authentication / ResetFlow / state / resetStoreContainer.js
Size: Mime:
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