"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SubNavigationItemContent = void 0;
var _react = _interopRequireDefault(require("react"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const SubNavigationItemContent = ({
  leftElement,
  rightElement,
  label
}) => {
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
    children: [leftElement ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
      className: "item-button-left-element",
      children: leftElement
    }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
      children: label
    }), rightElement ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
      className: "item-button-right-element",
      children: rightElement
    }) : null]
  });
};
exports.SubNavigationItemContent = SubNavigationItemContent;