"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 CloseFill = /*#__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, "-closeFill"), 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("circle", {
    fill: "currentColor",
    cx: 8,
    cy: 8,
    r: 6.667
  }), /*#__PURE__*/_react.default.createElement("path", {
    fill: "#FFF",
    d: "M11.283 5.626L8.808 8.1l2.374 2.375-.808.808L8 8.908l-2.374 2.375-.808-.808L7.192 8.1 4.717 5.626l.808-.808L8 7.293l2.475-2.475z"
  }))));
});

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