import _extends from "@babel/runtime/helpers/extends";
// Copyright 1999-2022. Plesk International GmbH. All rights reserved.
import React from 'react';
import classNames from 'classnames';
import SkeletonText from './SkeletonText';
import { CLS_PREFIX } from '../../constants';

/**
 * Skeleton for tabs component
 * @since `3.28.0
 */
const SkeletonTabs = ({
  count = 3,
  className,
  baseClassName = `${CLS_PREFIX}skeleton-tabs`,
  ...props
}) => /*#__PURE__*/React.createElement("div", _extends({
  className: classNames(baseClassName, className)
}, props), /*#__PURE__*/React.createElement(SkeletonText, {
  lineProps: {
    maxWidth: 100
  },
  lines: count
}));

export default SkeletonTabs;