React component for WeatherIcons icons
$ npm install --save react-weathericons
You need to add your own version of Weather Icons CSS.
import React from 'react';
import WeatherIcons from 'react-weathericons';
const Component = (props) => {
return (
<div>
<WeatherIcons name="cloud" size="2x" />
</div>
)
}
- FontAwesome size like (e.g. lg, 2x, 3x)
This module was inspired on react-fontawesome
module, but using WeatherIcons icons.