"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var commons_1 = require("@universal-login/commons");
var BackupCodesWrapper_1 = require("./BackupCodesWrapper");
var FooterSection_1 = require("../commons/FooterSection");
var GasPrice_1 = require("../commons/GasPrice");
exports.BackupCodesInitial = function (_a) {
    var generateBackupCodes = _a.generateBackupCodes, deployedWallet = _a.deployedWallet, setGasParameters = _a.setGasParameters, className = _a.className, isButtonDisabled = _a.isButtonDisabled;
    return (react_1.default.createElement(BackupCodesWrapper_1.BackupCodesWrapper, { className: className },
        react_1.default.createElement(FooterSection_1.FooterSection, { className: className },
            react_1.default.createElement(GasPrice_1.GasPrice, { isDeployed: true, deployedWallet: deployedWallet, gasLimit: commons_1.DEFAULT_GAS_LIMIT, onGasParametersChanged: setGasParameters, className: className }),
            react_1.default.createElement("button", { disabled: isButtonDisabled, className: "backup-btn backup-btn-primary generate-code-btn", onClick: generateBackupCodes }, "Generate new code"))));
};
//# sourceMappingURL=BackupCodesInitial.js.map