"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: '0 0 15 19'
};

function DownloadIcon(props) {
  var iconCssClasses = "ds-c-icon--download ".concat(props.className || '');
  return /*#__PURE__*/_react.default.createElement(_SvgIcon.default, _extends({
    title: (0, _i18n.t)('icons.download')
  }, defaultProps, props, {
    className: iconCssClasses
  }), /*#__PURE__*/_react.default.createElement("path", {
    d: "M1.6 17.657V16h12.8v3.2H1.6v-1.543zM0 5.337l1.09-1.09L2.178 3.2l2.084 2.043L6.4 7.2V0h3.2V7.2l1.892-1.973C12.624 4.095 13.589 3.2 13.6 3.2c.011 0 .48.457 1.076 1.053l1.084 1.084-3.93 3.93a532.294 532.294 0 01-3.95 3.929c-.011 0-1.79-1.768-3.95-3.93L0 5.336z",
    fillRule: "evenodd"
  }));
}

var _default = DownloadIcon;
exports.default = _default;