Component wrapper for leaflet