google-maps-js-api-react
Version:
Fast, tree-shakable, and light-weight React components and hooks for integrating Google Maps API functionality
1 lines • 460 B
Source Map (JSON)
{"version":3,"sources":["../../src/usePane/index.ts"],"names":["useContext","PanesContext_default"],"mappings":";;;;;AAGA,IAAM,UAAU,CAAC,IAAA,KACfA,gBAAW,CAAAC,sCAAY,EAAE,IAAI,CAAA;AAE/B,IAAO,eAAQ,GAAA","file":"chunk-UCQQP5KU.cjs","sourcesContent":["import { useContext } from 'react';\nimport PanesContext from '../utils/PanesContext';\n\nconst usePane = (pane: keyof google.maps.MapPanes) =>\n useContext(PanesContext)[pane];\n\nexport default usePane;\n"]}