UNPKG

weather-icons-react

Version:

svg react icons from the http://weathericons.io library

31 lines (20 loc) 732 B
# Weather Icons React Include Weather Icons in your react project easily with 'weather-icons-react', which utilizes ES6 imports so that you only need to include the icons that your project is using. ## Installation ```js npm install weather-icons-react --save ``` ## Usage ```jsx import { WiDaySunny } from 'weather-icons-react'; class Weather extends React.Component { render() { return <WiDaySunny size={24} color='#000' /> } } ``` ## Icons [https://najens.github.io/weather-icons-react/](https://najens.github.io/weather-icons-react/) ## License MIT * Icons are taken from [http://weathericons.io/](http://weathericons.io) so please check its project licenses accordingly.