import { jsxDEV } from "react/jsx-dev-runtime";
import { DataBindingProvider } from "@contember/react-binding";
import { DataGrid } from "@contember/react-datagrid-ui";
import { scopeComponent } from "./scopeComponent.js";
import { FeedbackRenderer } from "../../bindingFacade/renderers/FeedbackRenderer.js";
const DataGridScope = scopeComponent(
  ({ stateComponent, stateProps, skipBindingStateUpdateAfterPersist, refreshDataBindingOnPersist, ...props }) => /* @__PURE__ */ jsxDEV(
    DataBindingProvider,
    {
      stateComponent: stateComponent ?? FeedbackRenderer,
      stateProps,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      children: /* @__PURE__ */ jsxDEV(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"
);
export {
  DataGridScope
};
//# sourceMappingURL=DataGridScope.js.map
