import { createContext as a, useContext as o } from "react";
import t from "./index-tiny-invariant.js";
const n = a(null);
function p() {
  t(!!o, "useGoogleMap is React hook and requires React version 16.8+");
  const e = o(n);
  return t(!!e, "useGoogleMap needs a GoogleMap available up in the tree"), e;
}
export {
  n as MapContext,
  p as useGoogleMap
};
