'use client'; import { FUEL_TYPE_COLORS } from './power-plant-marker.js'; interface MapLegendProps { showPowerPlants?: boolean; } const FUEL_TYPE_DISPLAY_ORDER = [ 'Natural Gas', 'Coal', 'Nuclear', 'Hydroelectric', 'Wind', 'Solar', 'Petroleum', 'Biomass', 'Geothermal', ]; export function MapLegend({ showPowerPlants = false }: MapLegendProps) { return (