Added OpenWeatherMap widget.
This commit is contained in:
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>;
|
||||
}
|
||||
Reference in new issue
Block a user