import { jsx } from "react/jsx-runtime";
import { DataBindingProvider, EntityListSubTree } from "@contember/react-binding";
import { scopeComponent } from "./scopeComponent.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
import { ImmutableEntityListRenderer } from "../../bindingFacade/renderers/listRenderers/ImmutableEntityListRenderer.js";
const ListScope = scopeComponent(
  ({
    children,
    stateComponent,
    stateProps,
    ...entityListProps
  }) => /* @__PURE__ */ jsx(DataBindingProvider, { stateComponent: stateComponent ?? FeedbackRenderer, stateProps, children: /* @__PURE__ */ jsx(EntityListSubTree, { ...entityListProps, listComponent: ImmutableEntityListRenderer, children }) }),
  "ListScope"
);
export {
  ListScope
};
//# sourceMappingURL=ListScope.js.map
