"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactBinding = require("@contember/react-binding");
const reactDatagridUi = require("@contember/react-datagrid-ui");
const scopeComponent = require("./scopeComponent.cjs");
const FeedbackRenderer = require("../../bindingFacade/renderers/FeedbackRenderer.cjs");
const DataGridScope = scopeComponent.scopeComponent(
  ({ stateComponent, stateProps, skipBindingStateUpdateAfterPersist, refreshDataBindingOnPersist, ...props }) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(
    reactBinding.DataBindingProvider,
    {
      stateComponent: stateComponent ?? FeedbackRenderer.FeedbackRenderer,
      stateProps,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactDatagridUi.DataGrid, { ...props }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Scopes/DataGridScope.tsx",
        lineNumber: 26,
        columnNumber: 4
      }, void 0)
    },
    void 0,
    false,
    {
      fileName: "/__w/interface/interface/packages/admin/src/components/pageRouting/Scopes/DataGridScope.tsx",
      lineNumber: 20,
      columnNumber: 3
    },
    void 0
  ),
  "DataGridScope"
);
exports.DataGridScope = DataGridScope;
//# sourceMappingURL=DataGridScope.cjs.map
