"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.OverlayLoader = void 0;
const classnames_1 = __importDefault(require("classnames"));
const react_1 = __importDefault(require("react"));
const OverlayLoader_module_scss_1 = __importDefault(require("./OverlayLoader.module.scss"));
const OverlayLoader = (props) => {
    return (react_1.default.createElement("div", { className: (0, classnames_1.default)(OverlayLoader_module_scss_1.default['overlay'], { [OverlayLoader_module_scss_1.default['--fixed']]: props.isFullscreen }) },
        react_1.default.createElement("div", { className: OverlayLoader_module_scss_1.default['spinner'] }, ['top', 'bottom', 'left', 'move-blob'].map((item) => {
            return react_1.default.createElement("div", { key: item, className: (0, classnames_1.default)(OverlayLoader_module_scss_1.default['blob'], OverlayLoader_module_scss_1.default[item]) });
        })),
        props.label && react_1.default.createElement("div", { className: OverlayLoader_module_scss_1.default['label'] }, props.label)));
};
exports.OverlayLoader = OverlayLoader;
//# sourceMappingURL=OverlayLoader.js.map