"use strict";

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

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

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

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

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

var _reactIconBase = _interopRequireDefault(require("react-icon-base"));

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

var __rest = void 0 && (void 0).__rest || function (s, e) {
  var t = {};

  for (var p in s) {
    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
  }

  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
  }
  return t;
};
/** @format */


var IconBase = function IconBase(props) {
  var className = props.className,
      style = props.style,
      other = __rest(props, ["className", "style"]);

  var classNames = (0, _classnames2["default"])((0, _defineProperty2["default"])({
    anticon: true
  }, className || '', className || ''));
  return /*#__PURE__*/_react["default"].createElement("span", {
    role: "img",
    className: classNames
  }, /*#__PURE__*/_react["default"].createElement(_reactIconBase["default"], (0, _extends2["default"])({}, other, {
    style: (0, _extends2["default"])({
      verticalAlign: 'baseline'
    }, style)
  })));
};

var _default = IconBase;
exports["default"] = _default;