"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _SkeletonGroupSt = require("./SkeletonGroup.st.css.js");
var _SkeletonGroupAPI = require("./SkeletonGroupAPI");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/SkeletonGroup/SkeletonGroup.tsx";
/** SkeletonGroup */
function SkeletonGroup(_ref) {
  var {
    dataHook,
    className,
    skin = 'light',
    children,
    backgroundColor
  } = _ref;
  return /*#__PURE__*/_react.default.createElement("div", {
    "data-hook": dataHook,
    className: (0, _SkeletonGroupSt.st)(_SkeletonGroupSt.classes.root, className),
    style: {
      [_SkeletonGroupSt.vars['color']]: backgroundColor
    },
    "data-status": "loading",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(_SkeletonGroupAPI.SkeletonGroupContext.Provider, {
    value: {
      skin
    },
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 23,
      columnNumber: 7
    }
  }, children), /*#__PURE__*/_react.default.createElement("div", {
    className: _SkeletonGroupSt.classes.animator,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 26,
      columnNumber: 7
    }
  }));
}
SkeletonGroup.displayName = 'SkeletonGroup';
var _default = exports.default = SkeletonGroup;
//# sourceMappingURL=SkeletonGroup.js.map