UNPKG

weather-icons-animated

Version:

A series of hand crafted and detailed weather icons animated with react & emotion.js

8 lines (7 loc) 491 B
import { type ReactElement } from 'react'; export type WeatherState = "sunny" | "clear-night" | "partlycloudy" | "cloudy" | "fog" | "hail" | "rainy" | "snowy" | "snowy-rainy" | "pouring" | "lightning" | "lightning-rainy" | "windy" | "windy-variant"; export interface WeatherSvgProps extends React.ComponentProps<'svg'> { state: WeatherState; night?: boolean; } export declare const WeatherSvg: ({ state, night, width, height, ...rest }: WeatherSvgProps) => ReactElement<SVGElement>;