title: react-leaflet-control - TypeError: (0 , _reactLeaflet.withLeaflet) is not a function
body: <p>Not sure why suddenly the custom Control is not working in my react-leaflet map application. The error occurs during "import the 'Control' from 'react-leaflet-control'" statement.  </p>
  
  <p><img src="https://i.stack.imgur.com/nsN6x.png" />
  It used to work a few weeks back, since then it was not allowing me to import the 'Control' component. The only change we did was we upgraded the react-leaflet' package to 2.2.0 and nothing else.</p>
  
  <p>Currently I am using react-leaflet-control^1.4.1. It is obvious that this is not compatible/supported to work with react-leaflet-control^2.2.0.  I tried downgrading to 1.9.1 by looking into my old package.json file, but still the same issue. I tried removing all the node-module and tried npm install to update all packages, but still the same issue.</p>
  
  <p>Anyone has idea on what exactly is wrong here, is there any dependency I need to install to overcome this?</p>
  
  <p>Thanks and Regards,
  ~Paul</p>