"use strict";

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

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

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

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

var _context = require("../../config-provider/context");

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

var LoadingLine = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
  var prefixCls = props.prefixCls,
      className = props.className,
      reset = (0, _objectWithoutProperties2.default)(props, ["prefixCls", "className"]);
  var iconPrefix = (0, _context.getPrefixClassName)('icon', prefixCls);
  return /*#__PURE__*/_react.default.createElement("span", Object.assign({
    className: (0, _classnames.default)("".concat(iconPrefix, " ").concat(iconPrefix, "-loadingLine"), className),
    ref: ref
  }, reset), /*#__PURE__*/_react.default.createElement("svg", {
    width: "1em",
    height: "1em",
    viewBox: "0 0 16 16",
    xmlns: "http://www.w3.org/2000/svg"
  }, /*#__PURE__*/_react.default.createElement("g", {
    fill: "none",
    fillRule: "evenodd"
  }, /*#__PURE__*/_react.default.createElement("path", {
    opacity: 0.2,
    d: "M0 0h16v16H0z"
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M8 1.333A6.667 6.667 0 111.333 8a.5.5 0 011 0A5.667 5.667 0 105.22 3.061a.5.5 0 01-.492-.87A6.638 6.638 0 018 1.332z",
    fill: "currentColor"
  }))));
});

LoadingLine.displayName = "LoadingLine";
var _default = LoadingLine;
exports.default = _default;