"use client";
import { jsx } from "react/jsx-runtime";
import { ActivityCard } from "./ActivityCard.js";
import { CompanyCard } from "./CompanyCard.js";
import { DealCard } from "./DealCard.js";
import { PersonCard } from "./PersonCard.js";
import { ProductCard } from "./ProductCard.js";
function RecordCard({ data }) {
  switch (data.kind) {
    case "deal":
      return /* @__PURE__ */ jsx(DealCard, { ...data });
    case "person":
      return /* @__PURE__ */ jsx(PersonCard, { ...data });
    case "company":
      return /* @__PURE__ */ jsx(CompanyCard, { ...data });
    case "product":
      return /* @__PURE__ */ jsx(ProductCard, { ...data });
    case "activity":
      return /* @__PURE__ */ jsx(ActivityCard, { ...data });
    default:
      return null;
  }
}
var RecordCard_default = RecordCard;
export {
  RecordCard,
  RecordCard_default as default
};
//# sourceMappingURL=RecordCard.js.map
