import { jsx } from "react/jsx-runtime";
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__ */ jsx(
    LayoutRenderer,
    {
      actions: actions ?? /* @__PURE__ */ jsx(PersistButton, {}),
      fit,
      headingProps,
      navigation,
      pageContentLayout: pageContentLayout ?? layout,
      side,
      title,
      children: /* @__PURE__ */ jsx(MutableEntityListRenderer, { ...entityListProps, children })
    }
  ),
  "MutableEntityListPageRenderer"
);
export {
  MutableEntityListPageRenderer
};
//# sourceMappingURL=MutableEntityListPageRenderer.js.map
