"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "getChevronLeftDataUri", {
  enumerable: true,
  get: function get() {
    return _chevronLeft.getChevronLeftDataUri;
  }
});
exports.ChevronLeft = void 0;

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

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

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

var _chevronLeft = require("./chevron-left.css-rules");

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

var _ChevronLeft = function _ChevronLeft(_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: "M22 16l-6 6 6 6"
  }));
};

var ChevronLeft = (0, _styledComponents.withTheme)(_ChevronLeft);
exports.ChevronLeft = ChevronLeft;
ChevronLeft.displayName = 'ChevronLeft';