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