import { useTranslation } from '../../i18n' import { MOOD_CONFIG, WEATHER_CONFIG } from '../../pages/journeyDetail/JourneyDetailPage.constants' export function MoodChip({ mood }: { mood: string }) { const { t } = useTranslation() const config = MOOD_CONFIG[mood] if (!config) return null const Icon = config.icon return (
{t(config.label)}
) } export function WeatherChip({ weather }: { weather: string }) { const { t } = useTranslation() const config = WEATHER_CONFIG[weather] if (!config) return null const Icon = config.icon return (
{t(config.label)}
) }