"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "getChevronUpDataUri", {
  enumerable: true,
  get: function get() {
    return _chevronUp.getChevronUpDataUri;
  }
});
exports.ChevronUp = void 0;

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

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

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

var _chevronUp = require("./chevron-up.css-rules");

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

var _ChevronUp = function _ChevronUp(_ref) {
  var _ref$colorName = _ref.colorName,
      colorName = _ref$colorName === void 0 ? 'greyscale-darker' : _ref$colorName,
      theme = _ref.theme;
  return _react["default"].createElement("svg", {
    width: "44",
    height: "44",
    viewBox: "0 0 44 44"
  }, _react["default"].createElement("path", {
    fill: "none",
    fillRule: "evenodd",
    stroke: (0, _cssRules.getChevronColor)(theme, colorName),
    strokeLinecap: "round",
    strokeWidth: "2",
    d: "M28 25l-6-6-6 6"
  }));
};

var ChevronUp = (0, _styledComponents.withTheme)(_ChevronUp);
exports.ChevronUp = ChevronUp;
ChevronUp.displayName = 'ChevronUp';