/* NewSortingIcon.tsx generated by @compiled/babel-plugin v0.39.1 */
"use strict";

var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.NewSortingIcon = void 0;
require("./NewSortingIcon.compiled.css");
var React = _interopRequireWildcard(require("react"));
var _runtime = require("@compiled/react/runtime");
var _editorToolbar = require("@atlaskit/editor-toolbar");
var _types = require("../types");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
var newIconWrapperStyles = {
  base: "_v5642l60 _1bsb7vkz _4t3i7vkz _1e0c1txw _1bah1h6o _4cvr1h6o _8hrz1qre",
  inactive: "_tzy415iw"
};
var NewSortingIcon = exports.NewSortingIcon = function NewSortingIcon(_ref) {
  var sortOrdered = _ref.sortOrdered;
  return /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)([newIconWrapperStyles.base, sortOrdered === _types.SortOrder.NO_ORDER && newIconWrapperStyles.inactive])
  }, sortOrdered === _types.SortOrder.DESC ? /*#__PURE__*/React.createElement(_editorToolbar.SortAscendingIcon, {
    spacing: "none",
    label: ""
  }) : /*#__PURE__*/React.createElement(_editorToolbar.SortDescendingIcon, {
    spacing: "none",
    label: ""
  }));
};