Added OpenWeatherMap widget.

This commit is contained in:
AlexFullmoon committed 2022-08-27 13:30:17 +03:00
1 parent f0f470ba8b
commit 6a97d392c9
6 files changed
+482

No files matched your search

@@ -0,0 +1,7 @@
import mapIcon from "utils/owm-condition-map";
export default function Icon({ condition, timeOfDay }) {
const Icon = mapIcon(condition, timeOfDay);
return <Icon className="w-10 h-10 text-theme-800 dark:text-theme-200"></Icon>;
}