This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.chart { | |
position: relative; | |
} | |
.tooltip { | |
position: absolute; | |
background: blue; | |
color: white; | |
padding: 5px; | |
top: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ReactDOM from 'react-dom'; | |
import React from 'react'; | |
let timeoutDuration = 1500, | |
timer; | |
//- Base Styles | |
let buttonStyles = { | |
display: 'inline-block', | |
position: 'relative', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import appActions from 'actions/AppActions'; | |
import React, {Component, PropTypes} from 'react'; | |
import {mapConfig} from 'js/config'; | |
import EsriMap from 'esri/map'; | |
class Map extends Component { | |
//- Define your context types here as static property | |
static childContextTypes = { | |
map: PropTypes.object | |
}; |