The components exposed by React-Leaflet inherit from the following hierarchy:
ControlledLayer: base class used by
LayersControlto handle adding and removing its layers.
MapComponent: base class handling extracting and updating Leaflet events.
Map: top-level component instantiating a Leaflet map and providing it to its children.
MapLayer: base class for all map layers, handling adding and removing the layer from the map.
MapControl: base class for all controls, handles positioning.