import { WeatherWidgetIcon } from "./weather-widget-icon"; import IconHumidity from "./icons/det_humidity.svg"; import IconWind from "./icons/det_wind.svg"; import { WeatherDayRow, WeatherWidgetData } from "./weather.interface"; const Weekdays = ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"]; const WRow = ({ temperature, weekday, condition }: WeatherDayRow) => (
); export function WeatherWidgetRight({ forecasts, weatherInfo, }: WeatherWidgetData) { const wd = new Date().getDay(); return (
{[...forecasts].slice(0, 3).map((d, idx) => ( ))}
%
 м/с
); }