"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useDataGridContext = exports.DataGridContextProvider = void 0;
const helpers_1 = require("../../utils/helpers");
const { Provider: DataGridContextProvider, useContext: useDataGridContext } = (0, helpers_1.createStrictContext)({
    name: "DataGridContext",
    errorMessage: "DataGrid hooks must be used within a <DataGrid />",
});
exports.DataGridContextProvider = DataGridContextProvider;
exports.useDataGridContext = useDataGridContext;
//# sourceMappingURL=DataGridRoot.context.js.map