react_weather

1.0.17 • Public • Published

react_weather

small react weather component

Alt text

React Weather

npm license

Features

  • Supports Yahoo API

Installing

Install via npm:

npm install react_weather --save

Quick Example

This example shows how to use the Weather component. The component display input data via props.

import React, { Component } from 'react';
 
import Tempnow from 'react_weather';
const style = {
  height: 180,
  width: 220,
  margin: 20,
  textAlign: 'center',
  display: 'inline-block',
 
   backgroundColor: '#FBE9E7',
};
   <Tempnow location="Chicago"  style={style}  /> 

props:
  - location - The city name ,zip...etc
  - style 
 
### License
MIT

Readme

Keywords

none

Package Sidebar

Install

npm i react_weather

Weekly Downloads

0

Version

1.0.17

License

MIT

Last publish

Collaborators

  • npm.mperera.user