I have the relatively simple problem of trying to add a title to a leaflet map, similar to the image below.
I have seen posts like R: Add title to Leaflet map, but have not been able to find an example for react.
My code looks like this
import L from 'leaflet';
import {Map, TileLayer, Marker, Popup} from 'react-leaflet';
class App extends Component {
  render(){
     return (
        <div>
        <Map className="splitViewMap" style={{'fillColor': 'yellow'}}>
         <TileLayer
           attribution='&copy <a href="http://osm.org/copyright">OpenStreetMap</a> 
           contributors'
           url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
         />
       </Map>
       </div>
    );
  }
}
export default App;
