google-maps-js-api-react
Version:
Fast, tree-shakable, and light-weight React components and hooks for integrating Google Maps API functionality
12 lines (8 loc) • 396 B
TypeScript
/// <reference types="google.maps" />
import { GoogleMapsLibrary } from 'google-maps-js-api-loader';
/**
* Hook for getting status of {@link google.maps} script or specific {@link library}
* > It not provokes loading of script/library
*/
declare const useGoogleMapsStatus: (library?: GoogleMapsLibrary) => "none" | "loading" | "loaded" | "error";
export { useGoogleMapsStatus as default };