import { jsx as a } from "react/jsx-runtime";
import { useCallback as s } from "react";
import { useSidebarContext as n } from "../../context/sidebarContext.js";
import { c } from "../../../../index-BtlgVD4m.js";
const l = ({ className: t, children: o }) => {
  const { collapsed: e } = n(), i = s((r) => {
    r.stopPropagation();
  }, []);
  return e ? null : /* @__PURE__ */ a(
    "div",
    {
      role: "presentation",
      onClick: i,
      className: c("ml-auto", "flex", "items-center", "opacity-0", "group-hover/sidebar-item:opacity-100", "transition-opacity", t),
      children: o
    }
  );
};
l.displayName = "SidebarItemActions";
export {
  l as default
};
//# sourceMappingURL=SidebarItemActions.js.map
