"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "getChevronDownDataUri", {
  enumerable: true,
  get: function get() {
    return _chevronDown.getChevronDownDataUri;
  }
});
exports.ChevronDown = void 0;

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

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

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

var _chevronDown = require("./chevron-down.css-rules");

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

var _ChevronDown = function _ChevronDown(_ref) {
  var _ref$colorName = _ref.colorName,
      colorName = _ref$colorName === void 0 ? 'greyscale-darker' : _ref$colorName,
      theme = _ref.theme;
  return _react["default"].createElement("svg", {
    xmlns: "http://www.w3.org/2000/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 19l-6 6-6-6"
  }));
};

var ChevronDown = (0, _styledComponents.withTheme)(_ChevronDown);
exports.ChevronDown = ChevronDown;
ChevronDown.displayName = 'ChevronDown';