Hi i'm using ^6.3.0 but when i do:
import InfoBox from 'react-google-maps/lib/addons/InfoBox';
i get a module not found error, I can see InfoBox.js in the node_modules addons folder.
MarkerClusterer however works fine:
import MarkerClusterer from 'react-google-maps/lib/addons/MarkerClusterer';
Any ideas?
try this: import {default as InfoBox} from 'react-google-maps/lib/addons/InfoBox'
@lilywang2110168 try this: import {default as InfoBox} from 'react-google-maps/lib/addons/InfoBox'
unless I'm mistaken, the above is literally the same as
import InfoBox from 'react-google-maps/lib/addons/InfoBox'
@PaulieScanlon I'll take a look over the next day or so and see if I can repro
Most helpful comment
unless I'm mistaken, the above is literally the same as
@PaulieScanlon I'll take a look over the next day or so and see if I can repro