import React from 'react'; import type { Weather } from '../types'; interface WeatherIconProps { condition: Weather['condition']; className?: string; } const WeatherIcon: React.FC = ({ condition, className = 'w-16 h-16 text-yellow-500' }) => { switch (condition) { case 'Sunny': return ( ); case 'Cloudy': return ( ); case 'Rainy': return ( ); case 'Snowy': return ( ); default: return ( ); } }; export default WeatherIcon;