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