import { DataBindingProvider } from "@contember/binding";
import { memo } from "react";
import { getPageName } from "./getPageName.js";
import { jsxDEV } from "react/jsx-dev-runtime";
import { DataGrid } from "../../bindingFacade/collections/DataGrid/grid/DataGrid.js";
import { DataGridPageRenderer } from "../../bindingFacade/renderers/pageRenderers/DataGridPageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DataGridPage.tsx";
const DataGridPage = memo(({
  children,
  rendererProps,
  pageName,
  ...dataGridProps
}) => /* @__PURE__ */ jsxDEV(DataBindingProvider, {
  stateComponent: FeedbackRenderer,
  children: /* @__PURE__ */ jsxDEV(DataGrid, {
    ...dataGridProps,
    component: DataGridPageRenderer,
    componentProps: rendererProps,
    children
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 28,
    columnNumber: 4
  }, void 0)
}, void 0, false, {
  fileName: _jsxFileName,
  lineNumber: 27,
  columnNumber: 3
}, void 0));
DataGridPage.displayName = "DataGridPage";
DataGridPage.getPageName = getPageName;
export {
  DataGridPage
};
//# sourceMappingURL=DataGridPage.js.map
