Display lunar phase with React and Pixi.js
https://nikolas.github.io/react-moonphase/
npm install --save react-moonphase
import MoonPhaseView from 'react-moonphase';
// ...
render() {
return (
<MoonPhaseView
moonPhase={this.state.moonPhase}
onMoonPhaseUpdate={this.onMoonPhaseUpdate.bind(this)} />
);
}