"use client";
import { jsx, jsxs } from "react/jsx-runtime";
import { useT } from "@open-mercato/shared/lib/i18n/context";
function MessageDetailMetaSection({ detail }) {
  const t = useT();
  return /* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: detail.externalEmail ? /* @__PURE__ */ jsxs("div", { className: "space-y-1 rounded border p-3 text-sm", children: [
    /* @__PURE__ */ jsx("p", { className: "font-medium", children: t("messages.externalEmail", "External email") }),
    /* @__PURE__ */ jsx("p", { children: detail.externalEmail })
  ] }) : null });
}
export {
  MessageDetailMetaSection
};
//# sourceMappingURL=meta-panel.js.map
