"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = NavigationItemBaseContent;
var _navigationStyles = require("../styles/navigation-styles");
var _jsxRuntime = require("react/jsx-runtime");
/**
 * Internal dependencies
 */

function NavigationItemBaseContent(props) {
  const {
    badge,
    title
  } = props;
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
    children: [title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_navigationStyles.ItemTitleUI, {
      className: "components-navigation__item-title",
      as: "span",
      children: title
    }), badge && /*#__PURE__*/(0, _jsxRuntime.jsx)(_navigationStyles.ItemBadgeUI, {
      className: "components-navigation__item-badge",
      children: badge
    })]
  });
}
//# sourceMappingURL=base-content.js.map