react-moonphase

1.1.1 • Public • Published

react-moonphase Build Status Greenkeeper badge

Display lunar phase with React and Pixi.js

Screenshot of moon phase

Demo

https://nikolas.github.io/react-moonphase/

Usage

  • npm install --save react-moonphase
import MoonPhaseView from 'react-moonphase';

// ...

render() {
    return (
        <MoonPhaseView
            moonPhase={this.state.moonPhase}
            onMoonPhaseUpdate={this.onMoonPhaseUpdate.bind(this)} />
    );
}

Readme

Keywords

Package Sidebar

Install

npm i react-moonphase

Weekly Downloads

1

Version

1.1.1

License

GPL-3.0+

Unpacked Size

749 kB

Total Files

21

Last publish

Collaborators

  • nikolas