import * as React from 'react'; import { TileLayer } from 'react-leaflet'; import { HistoricDataEnablementState } from '../../config/map-config'; export function HistoricDataLayer({enablement}: {enablement: HistoricDataEnablementState}) { if(enablement == "enabled") { return } else { return null; } }