// src/components/weather/WeatherAverageBar.tsx import { getAverageEmoji } from '@/lib/weather-utils'; interface WeatherEntry { performanceEmoji: string | null; moralEmoji: string | null; fluxEmoji: string | null; valueCreationEmoji: string | null; } interface WeatherAverageBarProps { entries: WeatherEntry[]; } const AXES = [ { key: 'performanceEmoji' as const, label: 'Performance' }, { key: 'moralEmoji' as const, label: 'Moral' }, { key: 'fluxEmoji' as const, label: 'Flux' }, { key: 'valueCreationEmoji' as const, label: 'Création de valeur' }, ]; export function WeatherAverageBar({ entries }: WeatherAverageBarProps) { if (entries.length === 0) return null; return (