"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-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__ */ jsxRuntime.jsx(
    reactBinding.DataBindingProvider,
    {
      stateComponent: stateComponent ?? FeedbackRenderer.FeedbackRenderer,
      stateProps,
      skipStateUpdateAfterPersist: skipBindingStateUpdateAfterPersist,
      refreshOnPersist: refreshDataBindingOnPersist ?? true,
      children: /* @__PURE__ */ jsxRuntime.jsx(reactDatagridUi.DataGrid, { ...props })
    }
  ),
  "DataGridScope"
);
exports.DataGridScope = DataGridScope;
//# sourceMappingURL=DataGridScope.cjs.map
