mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
first public source commit
This commit is contained in:
9
src/components/widgets/weather/icon.jsx
Normal file
9
src/components/widgets/weather/icon.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import mapIcon from "utils/condition-map";
|
||||
|
||||
export default function Icon({ condition, timeOfDay }) {
|
||||
const Icon = mapIcon(condition, timeOfDay);
|
||||
|
||||
return (
|
||||
<Icon className="mt-2 w-10 h-10 text-theme-800 dark:text-theme-200"></Icon>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user