import { memo, createElement } from "react";
import { DataBindingProvider, EntityListSubTree } from "@contember/binding";
import { getPageName } from "./getPageName.js";
import { ImmutableEntityListTablePageRenderer } from "../../bindingFacade/renderers/pageRenderers/ImmutableEntityListTablePageRenderer.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
const TablePage = memo(({
  rendererProps,
  children,
  pageName,
  ...entityListProps
}) => /* @__PURE__ */ createElement(DataBindingProvider, {
  stateComponent: FeedbackRenderer
}, /* @__PURE__ */ createElement(EntityListSubTree, {
  ...entityListProps,
  listComponent: ImmutableEntityListTablePageRenderer,
  listProps: rendererProps
}, children)));
TablePage.getPageName = getPageName;
export { TablePage };
//# sourceMappingURL=TablePage.js.map
