import { jsx } from "react/jsx-runtime";
import { DataBindingProvider, EntityListSubTree } from "@contember/react-binding";
import { pageComponent } from "./pageComponent.js";
import { ImmutableEntityListPageRenderer } from "../../bindingFacade/renderers/pageRenderers/ImmutableEntityListPageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
const ListPage = pageComponent(
  ({
    children,
    rendererProps,
    pageName,
    ...entityListProps
  }) => /* @__PURE__ */ jsx(DataBindingProvider, { stateComponent: FeedbackRenderer, children: /* @__PURE__ */ jsx(EntityListSubTree, { ...entityListProps, listComponent: ImmutableEntityListPageRenderer, listProps: rendererProps, children }) }),
  "ListPage"
);
export {
  ListPage
};
//# sourceMappingURL=ListPage.js.map
