import { jsx as r } from "@emotion/react/jsx-runtime";
import { ListView as n } from "../../ListView/ListView.js";
import { TableView as f } from "../../TableView/TableView.js";
import { CardsView as m } from "../../CardsView/CardsView.js";
import { useDataGrid as a } from "../../../hooks/shared/useDataGrid/useDataGrid.js";
function l(i) {
  const { viewMode: t, listViewConfig: e, cardsViewConfig: o } = a();
  return t === "table" ? /* @__PURE__ */ r(f, { ...i }) : t === "list" && e ? /* @__PURE__ */ r(n, { ...i, listViewConfig: e }) : /* @__PURE__ */ r(m, { ...i, cardsViewConfig: o });
}
export {
  l as RenderContent
};
