"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.WarningTriangle = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _IconBase = require("../IconBase");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var StyledPath = _styledComponents.default.path.withConfig({
  displayName: "WarningTriangle__StyledPath",
  componentId: "sc-1gjl6co-0"
})(["", ""], function (p) {
  var strokeColor = (0, _IconBase.getColor)(p.theme, p.theme.color.svgStokeLight, p.strokeColorFn);
  return "fill: ".concat(strokeColor, ";");
});
var WarningTriangle = exports.WarningTriangle = function WarningTriangle(_ref) {
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
  return _react.default.createElement(_IconBase.IconBase, _extends({}, props, {
    viewBox: "0 0 92 90"
  }), _react.default.createElement("path", {
    d: "M46 0l46 89.3913043H0z"
  }), _react.default.createElement(StyledPath, {
    d: "M50 63.8333333v8h-8v-8h8zm0-28v24h-8v-24h8z"
  }));
};
WarningTriangle.displayName = 'OldIcon.WarningTriangle';