import { createElement } from "react";
import { Component } from "@contember/binding";
import { LayoutRenderer } from "../LayoutRenderer.js";
import { PersistButton } from "../../buttons/PersistButton.js";
import { MutableEntityListRenderer } from "../listRenderers/MutableEntityListRenderer.js";
const MutableEntityListPageRenderer = Component(({
  actions,
  children,
  fit,
  headingProps,
  layout,
  navigation,
  pageContentLayout,
  side,
  title,
  ...entityListProps
}) => /* @__PURE__ */ createElement(LayoutRenderer, {
  actions: actions ?? /* @__PURE__ */ createElement(PersistButton, null),
  fit,
  headingProps,
  navigation,
  pageContentLayout: pageContentLayout ?? layout,
  side,
  title
}, /* @__PURE__ */ createElement(MutableEntityListRenderer, {
  ...entityListProps
}, children)), "MutableEntityListPageRenderer");
export { MutableEntityListPageRenderer };
//# sourceMappingURL=MutableEntityListPageRenderer.js.map
