"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 SearchLine = /*#__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, "-searchLine"), 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", {
    d: "M0 0h16v16H0z"
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M7.333 2a5.333 5.333 0 014.11 8.734l2.577 2.58-.707.706-2.58-2.578A5.333 5.333 0 117.334 2zm0 1a4.333 4.333 0 100 8.667 4.333 4.333 0 000-8.667z",
    fill: "currentColor"
  }))));
});

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