"use strict";
exports.__esModule = true;
exports.BackgroundDecor = void 0;
var tslib_1 = require("tslib");
// @ts-nocheck
require("./BackgroundDecor.css");
var react_1 = (0, tslib_1.__importStar)(require("react"));
var bem_1 = require("../../utils/bem");
var cn = (0, bem_1.cn)('BackgroundDecor');
var BackgroundDecor = function (_a, ref) {
    var view = _a.view, position = _a.position, offset = _a.offset, color = _a.color, fill = _a.fill;
    var refEl = (0, react_1.useRef)();
    return (react_1["default"].createElement("div", { className: cn({ view: view, position: position, offset: offset, color: color, fill: fill }), ref: refEl }));
};
exports.BackgroundDecor = BackgroundDecor;
