import { jsx } from "react/jsx-runtime";
import { DataBindingProvider, EntitySubTree } from "@contember/react-binding";
import { NotFoundBoundary } from "./NotFoundBoundary.js";
import { scopeComponent } from "./scopeComponent.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
const DetailScope = scopeComponent(
  ({ children, stateComponent, stateProps, ...entityProps }) => /* @__PURE__ */ jsx(DataBindingProvider, { stateComponent: stateComponent ?? FeedbackRenderer, stateProps, children: /* @__PURE__ */ jsx(EntitySubTree, { ...entityProps, children: /* @__PURE__ */ jsx(NotFoundBoundary, { children }) }) }),
  "DetailScope"
);
export {
  DetailScope
};
//# sourceMappingURL=DetailScope.js.map
