mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-06 20:43:13 +08:00
Some changes on how application list is being rendered. Added isDay property on WeatherIcon to render icon accordingly to time of day. Modal can now be closed by clicking on backdrop
This commit is contained in:
@@ -36,7 +36,10 @@ const WeatherWidget = (): JSX.Element => {
|
||||
: (
|
||||
<Fragment>
|
||||
<div className={classes.WeatherIcon}>
|
||||
<WeatherIcon weatherStatusCode={weather.conditionCode} />
|
||||
<WeatherIcon
|
||||
weatherStatusCode={weather.conditionCode}
|
||||
isDay={weather.isDay}
|
||||
/>
|
||||
</div>
|
||||
<div className={classes.WeatherDetails}>
|
||||
<span>{weather.tempC}°C</span>
|
||||
|
||||
Reference in New Issue
Block a user