"use client";
import { jsx } from "react/jsx-runtime";
import Link from "next/link";
import { PlugZap } from "lucide-react";
import { useT } from "@open-mercato/shared/lib/i18n/context";
import { IconButton } from "../primitives/icon-button.js";
function IntegrationsButton({ href = "/backend/integrations" }) {
  const t = useT();
  const label = t("integrations.nav.title", "Integrations");
  return /* @__PURE__ */ jsx(
    IconButton,
    {
      asChild: true,
      variant: "ghost",
      size: "sm",
      title: label,
      "aria-label": label,
      children: /* @__PURE__ */ jsx(Link, { href, children: /* @__PURE__ */ jsx(PlugZap, { className: "size-4" }) })
    }
  );
}
export {
  IntegrationsButton
};
//# sourceMappingURL=IntegrationsButton.js.map
