<TimeSliderBase />

TimeSliderBase component ui used by TimeSlider

Constructor

# <TimeSliderBase onClose onDatesChange onTabChange tabs translations />

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
Since:
  • 0.12.0

View Source TimeSlider/TimeSliderBase.js, line 56