"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 _constants = require("../../constants");

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

/**
 * `Spinner` component.
 */
const Spinner = ({
  baseClassName = `${_constants.CLS_PREFIX}spinner`,
  className,
  ...props
}) => /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
  className: (0, _classnames.default)(baseClassName, className)
}, props, {
  viewBox: "0 0 48 48",
  xmlns: "http://www.w3.org/2000/svg"
}), /*#__PURE__*/_react.default.createElement("circle", {
  className: `${baseClassName}__path`,
  fill: "none",
  strokeWidth: "6",
  strokeLinecap: "round",
  cx: "24",
  cy: "24",
  r: "21"
}));

var _default = Spinner;
exports.default = _default;