import { DataBindingProvider, EntityListSubTree } from "@contember/binding";
import { memo } from "react";
import { getPageName } from "./getPageName.js";
import { jsxDEV } from "react/jsx-dev-runtime";
import { ImmutableEntityListPageRenderer } from "../../bindingFacade/renderers/pageRenderers/ImmutableEntityListPageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/ListPage.tsx";
const ListPage = memo(({
  children,
  rendererProps,
  pageName,
  ...entityListProps
}) => /* @__PURE__ */ jsxDEV(DataBindingProvider, {
  stateComponent: FeedbackRenderer,
  children: /* @__PURE__ */ jsxDEV(EntityListSubTree, {
    ...entityListProps,
    listComponent: ImmutableEntityListPageRenderer,
    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));
ListPage.getPageName = getPageName;
export {
  ListPage
};
//# sourceMappingURL=ListPage.js.map
