"use strict";

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

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

var _i18n = require("../i18n");

var _SvgIcon = _interopRequireDefault(require("./SvgIcon"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var defaultProps = {
  className: '',
  viewBox: '3 3 18 18'
};

function AddIcon(props) {
  var iconCssClasses = "ds-c-icon--add ".concat(props.className || '');
  return /*#__PURE__*/_react.default.createElement(_SvgIcon.default, _extends({
    title: (0, _i18n.t)('icons.add')
  }, defaultProps, props, {
    className: iconCssClasses
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
  }));
}

var _default = AddIcon;
exports.default = _default;