UNPKG

@onesy/ui-react

Version:
27 lines (26 loc) 905 B
import React from 'react'; import { ISurface } from '../Surface/Surface'; import { IElementReference, IPropsAny } from '../types'; export declare type TWeatherDayTime = 'day' | 'night'; export declare type TWeather = 'clear' | 'partly clear' | 'rainy' | 'partly rainy' | 'snowy' | 'partly snowy'; export declare type TTemperature = number; export declare type IWeather = ISurface & { shadow?: boolean; dayTime?: TWeatherDayTime; weather?: TWeather; temperature?: TTemperature; values?: { dayTime?: TWeatherDayTime; weather?: TWeather; temperature?: TTemperature; }; interval?: number; IconDay?: IElementReference; IconNight?: IElementReference; IconCloud?: IElementReference; IconRain?: IElementReference; IconSnow?: IElementReference; IconProps?: IPropsAny; }; declare const Weather: React.FC<IWeather>; export default Weather;