react-animated-climacons
Animated SVG Climacons for React (Weather Icons)
Original SVG icons from https://github.com/noahblon/animated-climacons
Install
npm install --save react-animated-climacons
Usage
import React from 'react'; import OpenWeatherMapCodes Moon from 'react-animated-climacons'; const App = // Use the OpenWeatherMapCodes to map a code to a component const Icon = OpenWeatherMapCodesnight801; return <div> // fill and stroke props are optional <Moon ="red" ="black" /> <Icon ="green" ="black" /> </div> ;;
License
MIT © w3cj