"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 classFor_1 = require("../utils/classFor");
var getModalProgressWidth_1 = require("../../core/utils/getModalProgressWidth");
require("../styles/base/modalProgressBar.sass");
require("../styles/themes/UniLogin/modalProgressBarThemeUniLogin.sass");
exports.ModalProgressBar = function (_a) {
    var _b = _a.steps, steps = _b === void 0 ? 0 : _b, _c = _a.progress, progress = _c === void 0 ? 0 : _c;
    return (react_1.default.createElement("div", { className: classFor_1.useClassFor('modal-progress-bar') },
        react_1.default.createElement("div", { style: { width: getModalProgressWidth_1.getModalProgressWidth(progress, steps) + "rem" }, className: classFor_1.classForComponent('modal-progress-bar-current') })));
};
//# sourceMappingURL=ModalProgressBar.js.map