Collect selected time ranges

pull/1109/head
Andrew Watkins 2017-03-28 16:44:39 -07:00
parent 03b8c659ce
commit bd4bd64bd5
3 changed files with 8 additions and 1 deletions

View File

@ -103,7 +103,7 @@ const AlertsApp = React.createClass({
</div>
<div className="page-header__right">
<SourceIndicator sourceName={source.name} />
<CustomTimeRange onApplyTimeRange={() => {}} timeRange={{upper: null, lower: null}}/>
<CustomTimeRange onApplyTimeRange={(timeRange) => console.log(timeRange)} timeRange={{upper: null, lower: null}}/>
</div>
</div>
</div>

View File

@ -10,6 +10,8 @@ class CustomTimeRange extends Component {
this.state = {
isVisible: false,
}
this.handleClick = ::this.handleClick
}
handleClickOutside() {

View File

@ -2,4 +2,9 @@
background: red;
z-index: 1000;
display: flex;
transform: translateY(102px);
}
.rd-day-selected {
background: blue;
}