react-weathericons

1.0.4 • Public • Published

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.

Package Sidebar

Install

npm i react-weathericons

Weekly Downloads

134

Version

1.0.4

License

MIT

Last publish

Collaborators

  • lucaskatayama