Collect selected time ranges

pull/10616/head
Andrew Watkins 2017-03-28 16:44:39 -07:00
parent 0e966b7b5d
commit b046e13340
3 changed files with 8 additions and 1 deletions

View File

@ -103,7 +103,7 @@ const AlertsApp = React.createClass({
</div> </div>
<div className="page-header__right"> <div className="page-header__right">
<SourceIndicator sourceName={source.name} /> <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> </div>
</div> </div>

View File

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

View File

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