"use strict";

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

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

var _styledComponents = require("styled-components");

var _add = require("./add.css-rules");

var _add2 = require("./add.proptypes");

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

var _Add = function _Add(_ref) {
  var theme = _ref.theme,
      _ref$colorName = _ref.colorName,
      colorName = _ref$colorName === void 0 ? 'brand-primary-base' : _ref$colorName;
  return _react["default"].createElement("svg", {
    width: "12px",
    height: "12px",
    viewBox: "0 0 12 12",
    version: "1.1",
    xmlns: "http://www.w3.org/2000/svg"
  }, _react["default"].createElement("g", {
    stroke: "none",
    strokeWidth: "1",
    fill: (0, _add.getFontColor)(theme, colorName),
    fillRule: "evenodd"
  }, _react["default"].createElement("path", {
    d: "M4.894 0H6.88v5.012h4.894v1.956H6.88V12H4.894V6.968H0V5.012h4.894z"
  })));
};

var Add = (0, _styledComponents.withTheme)(_Add);
exports.Add = Add;
Add.displayName = 'Add';
Add.propTypes = _add2.addPropTypes;