Openmeteo Widget
This commit is contained in:
1 parent
13f622b323
commit
e1a62a69f6
5 files changed
+204
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import mapIcon from "utils/weather/owm-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" />;
|
||||
}
|
||||
Reference in new issue
Block a user