"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 TextFill = /*#__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, "-textFill"), 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: "M10.78 13.333v-.526l-2.01-.161a95.268 95.268 0 01-.053-3.398v-1.65c0-1.464 0-2.897.052-4.288h3.2l.49 2.137h.874l-.175-2.78H2.807l-.14 2.78h.874l.49-2.137h3.2c.028 1.124.033 2.276.034 3.426v1.666c0 1.434 0 2.854-.034 4.244l-2.029.16v.527h5.578z",
    fill: "currentColor",
    fillRule: "nonzero"
  }))));
});

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