import { DataBindingProvider, EntitySubTree } from "@contember/binding";
import { memo } from "react";
import { getPageName } from "./getPageName.js";
import { jsxDEV } from "react/jsx-dev-runtime";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
import { LayoutRenderer } from "../../bindingFacade/renderers/LayoutRenderer.js";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/pageRouting/pageComponents/DetailPage.tsx";
const DetailPage = memo(({
  pageName,
  children,
  rendererProps,
  ...entityProps
}) => /* @__PURE__ */ jsxDEV(DataBindingProvider, {
  stateComponent: FeedbackRenderer,
  children: /* @__PURE__ */ jsxDEV(EntitySubTree, {
    ...entityProps,
    children: /* @__PURE__ */ jsxDEV(LayoutRenderer, {
      ...rendererProps,
      children
    }, void 0, false, {
      fileName: _jsxFileName,
      lineNumber: 25,
      columnNumber: 5
    }, void 0)
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 24,
    columnNumber: 4
  }, void 0)
}, void 0, false, {
  fileName: _jsxFileName,
  lineNumber: 23,
  columnNumber: 3
}, void 0));
DetailPage.displayName = "DetailPage";
DetailPage.getPageName = getPageName;
export {
  DetailPage
};
//# sourceMappingURL=DetailPage.js.map
