"use strict";

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

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

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

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

var _typography = require("../../../mixins/typography");

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

var _Error = function _Error(_ref) {
  var theme = _ref.theme;
  return _react["default"].createElement("svg", {
    width: "44px",
    height: "44px",
    viewBox: "0 0 44 44",
    version: "1.1",
    xmlns: "http://www.w3.org/2000/svg"
  }, _react["default"].createElement("g", {
    id: "Icons/Error",
    stroke: "none",
    strokeWidth: "1",
    fill: "none",
    fillRule: "evenodd"
  }, _react["default"].createElement("g", {
    id: "Icons/alert"
  }, _react["default"].createElement("circle", {
    id: "Oval-3",
    fill: (0, _error.getFillColor)(theme),
    cx: "22",
    cy: "22",
    r: "10"
  }), _react["default"].createElement("text", {
    id: "!",
    fontFamily: (0, _typography.getFontFamily)({
      theme: theme,
      bold: true
    }),
    fontSize: "16",
    fontWeight: "600",
    fill: (0, _error.getFontColor)(theme)
  }, _react["default"].createElement("tspan", {
    x: "19.3125",
    y: "27.5"
  }, "!")))));
};

var ErrorIcon = (0, _styledComponents.withTheme)(_Error);
exports.ErrorIcon = ErrorIcon;
ErrorIcon.displayName = 'ErrorIcon';
ErrorIcon.propTypes = {};