import { jsxDEV } from "react/jsx-dev-runtime";
import { DataGridKeyProvider } from "@contember/react-datagrid-ui";
import { useCurrentRequest } from "../routing/RequestContext.js";
const DataGridPageNameKeyProvider = ({ children }) => {
  const pageName = useCurrentRequest()?.pageName;
  return /* @__PURE__ */ jsxDEV(DataGridKeyProvider, { value: pageName ?? "", children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/DataGridPageNameKeyProvider.tsx",
    lineNumber: 9,
    columnNumber: 3
  }, void 0);
};
export {
  DataGridPageNameKeyProvider
};
//# sourceMappingURL=DataGridPageNameKeyProvider.js.map
