"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _react = _interopRequireDefault(require("react"));

var _classnames = _interopRequireDefault(require("classnames"));

var _SkeletonText = _interopRequireDefault(require("./SkeletonText"));

var _constants = require("../../constants");

// Copyright 1999-2022. Plesk International GmbH. All rights reserved.

/**
 * Skeleton for tabs component
 * @since `3.28.0
 */
const SkeletonTabs = ({
  count = 3,
  className,
  baseClassName = `${_constants.CLS_PREFIX}skeleton-tabs`,
  ...props
}) => /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({
  className: (0, _classnames.default)(baseClassName, className)
}, props), /*#__PURE__*/_react.default.createElement(_SkeletonText.default, {
  lineProps: {
    maxWidth: 100
  },
  lines: count
}));

var _default = SkeletonTabs;
exports.default = _default;