/* priority-critical-icon.tsx generated by @compiled/babel-plugin v0.40.0 */
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["label", "testId"];
import "./priority-critical-icon.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
import { createPriorityIcon } from './priority-icon';
var style = {
  span: "_1e0c1o8l _1o9zidpf",
  svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
};
var PriorityCriticalIconLegacy = function PriorityCriticalIconLegacy(_ref) {
  var label = _ref.label,
    testId = _ref.testId,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement("span", _extends({
    role: label ? 'img' : undefined,
    "aria-label": label,
    "aria-hidden": label ? undefined : true,
    "data-testid": testId
  }, props, {
    className: ax([style.span])
  }), /*#__PURE__*/React.createElement("svg", {
    width: "24",
    height: "24",
    viewBox: "0 0 24 24",
    role: "presentation",
    className: ax([style.svg])
  }, /*#__PURE__*/React.createElement("path", {
    d: "M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z",
    fill: "#FF5630"
  })));
};
PriorityCriticalIconLegacy.displayName = 'PriorityCriticalIcon';
var _default_1 = componentWithFG('platform_sl_icons_refactor', createPriorityIcon('PriorityCriticalIcon', [{
  d: 'M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z',
  fill: '#FF5630'
}]), PriorityCriticalIconLegacy);
export default _default_1;