import { jsx as e } from "@emotion/react/jsx-runtime";
import { BaseDataGrid as f } from "../BaseDataGrid/BaseDataGrid.js";
import { RenderContent as g } from "../../views/adapters/RenderContent/RenderContent.js";
function p(o) {
  const {
    id: n,
    withActions: r,
    columns: t,
    rows: s,
    selectedRows: c,
    onSelectedRowsChange: i,
    rowKeyGetter: d,
    onRowsChange: w,
    cardsViewConfig: a,
    focusOnRowKey: h,
    smoothScroll: l,
    checkedRows: m,
    onCheckedRowsChange: C,
    rowCellsBackground: R
  } = o;
  return /* @__PURE__ */ e(f, { ...o, children: /* @__PURE__ */ e(
    g,
    {
      id: n,
      withActions: r,
      columns: t,
      rows: s,
      selectedRows: c,
      onSelectedRowsChange: i,
      rowKeyGetter: d,
      onRowsChange: w,
      cardsViewConfig: a,
      focusOnRowKey: h,
      smoothScroll: l,
      checkedRows: m,
      onCheckedRowsChange: C,
      rowCellsBackground: R
    }
  ) });
}
export {
  p as DataGrid
};
