Collect selected time ranges
parent
0e966b7b5d
commit
b046e13340
|
@ -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>
|
||||||
|
|
|
@ -10,6 +10,8 @@ class CustomTimeRange extends Component {
|
||||||
this.state = {
|
this.state = {
|
||||||
isVisible: false,
|
isVisible: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.handleClick = ::this.handleClick
|
||||||
}
|
}
|
||||||
|
|
||||||
handleClickOutside() {
|
handleClickOutside() {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue