"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 DateLine = /*#__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, "-dateLine"), 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("path", {
    d: "M2.14 1.75c.308 0 .558.247.563.553v10.814h10.805a.562.562 0 01.01 1.125H2.147a.56.56 0 01-.4-.167.56.56 0 01-.17-.394V2.313c0-.311.252-.563.563-.563zm11.047 2.656a.89.89 0 010 1.782l.013-.002-2.336 2.402a.885.885 0 01.035.16l.007.111a.89.89 0 11-1.753-.222L7.847 7.378 5.901 9.365l.005.088c0 .454-.34.829-.779.884l-.111.007a.89.89 0 11.09-1.777l1.936-1.975a.89.89 0 111.584-.025l1.36 1.31 2.33-2.395a.893.893 0 01.871-1.076z",
    fill: "currentColor",
    fillRule: "evenodd"
  })));
});

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