import { DataBindingProvider, EntityListSubTree } from "@contember/binding";
import { memo } from "react";
import { getPageName } from "./getPageName.js";
import { jsxDEV } from "react/jsx-dev-runtime";
import { ImmutableEntityListTablePageRenderer } from "../../bindingFacade/renderers/pageRenderers/ImmutableEntityListTablePageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/TablePage.tsx";
const TablePage = memo(({
  rendererProps,
  children,
  pageName,
  ...entityListProps
}) => /* @__PURE__ */ jsxDEV(DataBindingProvider, {
  stateComponent: FeedbackRenderer,
  children: /* @__PURE__ */ jsxDEV(EntityListSubTree, {
    ...entityListProps,
    listComponent: ImmutableEntityListTablePageRenderer,
    listProps: rendererProps,
    children
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 29,
    columnNumber: 4
  }, void 0)
}, void 0, false, {
  fileName: _jsxFileName,
  lineNumber: 28,
  columnNumber: 3
}, void 0));
TablePage.getPageName = getPageName;
export {
  TablePage
};
//# sourceMappingURL=TablePage.js.map
