"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactDatagridUi = require("@contember/react-datagrid-ui");
const RequestContext = require("../routing/RequestContext.cjs");
const DataGridPageNameKeyProvider = ({ children }) => {
  const pageName = RequestContext.useCurrentRequest()?.pageName;
  return /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactDatagridUi.DataGridKeyProvider, { value: pageName ?? "", children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/DataGridPageNameKeyProvider.tsx",
    lineNumber: 9,
    columnNumber: 3
  }, void 0);
};
exports.DataGridPageNameKeyProvider = DataGridPageNameKeyProvider;
//# sourceMappingURL=DataGridPageNameKeyProvider.cjs.map
