Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-weathericons

lucaskatayama1.2kMIT1.0.4

A React component for the weather-icons icon library.

react, weather-icons, weathericons, bootstrap, icons, fonts, icon, lucaskatayama, big, style, jsx, react-component, component

readme

npm Build Status codecov

React Weather Icons

React component for WeatherIcons icons

Installation

$ npm install --save react-weathericons

Important

You need to add your own version of Weather Icons CSS.

Usage

import React from 'react';
import WeatherIcons from 'react-weathericons';

const Component = (props) => {
  return (
    <div>
      <WeatherIcons name="cloud" size="2x" />
    </div>
  )
}

Features

  • FontAwesome size like (e.g. lg, 2x, 3x)

Inspiration

This module was inspired on react-fontawesome module, but using WeatherIcons icons.

changelog

1.0.4 (2017-08-11)

  • chore: Import PropTypes from seaparate package (eeb36b2)

1.0.3 (2016-11-23)

  • docs: Removing unused docs (ff541d8)

1.0.2 (2016-11-22)

  • build: React component for Weather Icons (0dbc91c)