In react when you change a component state it will refresh the render. Normally you pass the state to the childcomponents but I can't find the correct method to do so for multi time range selecting. I tried with calling the selectTimeRange method but that method can only handle one timerange.
Basically I need to be able to pass the current selection as a property or I need to be able to set multiple timeranges with timeRangeSelect.
Or is there a other solution?