mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 16:30:31 +00:00
7 lines
262 B
JavaScript
7 lines
262 B
JavaScript
import mapIcon from "utils/weather/openmeteo-condition-map";
|
|
|
|
export default function Icon({ condition, timeOfDay }) {
|
|
const IconComponent = mapIcon(condition, timeOfDay);
|
|
|
|
return <IconComponent className="w-10 h-10 text-theme-800 dark:text-theme-200" />;
|
|
}
|