"use client";
import { jsx, jsxs } from "react/jsx-runtime";
import { Spinner } from "@open-mercato/ui/primitives/spinner";
import { cn } from "@open-mercato/shared/lib/utils";
function LoadingMessage({ label, className }) {
  return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2 rounded border bg-muted/30 px-3 py-2 text-sm text-muted-foreground", className), children: [
    /* @__PURE__ */ jsx(Spinner, { className: "h-4 w-4" }),
    /* @__PURE__ */ jsx("span", { children: label })
  ] });
}
export {
  LoadingMessage
};
//# sourceMappingURL=LoadingMessage.js.map
