@eggtronic/react-weather-widget
Version:
A nice weather widget component for react
10 lines (9 loc) • 392 B
TypeScript
/// <reference types="react" />
import { WeatherData, DailyWeatherData, CurrentWeatherData } from './types/weatherWidget';
interface WeatherHeaderProps {
today: DailyWeatherData;
current: CurrentWeatherData;
timezone: WeatherData['timezone'];
}
declare function WeatherHeader({ today, current, timezone, }: WeatherHeaderProps): JSX.Element;
export default WeatherHeader;