import { jsx as e } from "react/jsx-runtime";
import { useSidebarContext as a } from "../../context/sidebarContext.js";
import s from "../../../text/Text.js";
const o = ({ children: r }) => {
  const { collapsed: t } = a();
  return t ? null : /* @__PURE__ */ e("span", { className: "shrink-0", children: /* @__PURE__ */ e(s, { truncate: !0, type: "xs", children: r }) });
};
o.displayName = "SidebarItemBadge";
export {
  o as default
};
//# sourceMappingURL=SidebarItemBadge.js.map
