<TimeSliderBase />

TimeSliderBase component ui used by TimeSlider

Constructor

# <TimeSliderBase onClose onDatesChange onTabChange tabs translations draggable />

PropTypes:
Name Type Required Description Default
onClose func No callback fired when TimeSliderBase 'x' is clicked () => {}
onDatesChange func No callback fired when date selection or range is changed () => {}
onTabChange func No callback fired when a new tab is clicked () => {}
tabs arrayOf No separates tabs + corresponding dates into groups
translations shape No object with key/value pairs for translated strings function()
draggable bool No Boolean to allow timeslider to be dragged around the screen true
Since:
  • 0.12.0

View Source TimeSlider/TimeSliderBase.js, line 59