import { useContext as e } from "react";
import { DataGridContext as r } from "../../../contexts/DataGridContext/DataGridContext.js";
function a() {
  const t = e(r);
  if (!t)
    throw new Error("useDataGrid context must be use inside DataGridContext");
  return t;
}
export {
  a as default,
  a as useDataGrid
};
