"use client";
import { jsx, jsxs } from "react/jsx-runtime";
import { Users } from "lucide-react";
import { useTranslations } from "next-intl";
import { Badge } from "../ui/badge.js";
function TeamBadge({ team, showName = true, size = "md" }) {
  const t = useTranslations("teams");
  const sizeClasses = {
    sm: "h-3 w-3",
    md: "h-4 w-4",
    lg: "h-5 w-5"
  };
  return /* @__PURE__ */ jsxs(
    Badge,
    {
      variant: "default",
      className: "gap-1",
      children: [
        /* @__PURE__ */ jsx(Users, { className: sizeClasses[size], "aria-hidden": "true" }),
        showName && /* @__PURE__ */ jsx("span", { children: team.name })
      ]
    }
  );
}
export {
  TeamBadge
};
