In the example they use const { MarkerClusterer } = require("react-google-maps/lib/components/addons/MarkerClusterer");
, but I want to use import.
I tried using
import { MarkerClusterer } from 'react-google-maps/lib/components/addons/MarkerClusterer';
This did not seem to work for me, am I doing it wrong?