A function to render the tracks. The function receives an object with an array of tracks. Note: getEventData can be called with an event and get the value and percent at that location (used for tooltips etc). activeHandleID will be a string or null. Function signature: ({ getEventData, activeHandleID, tracks, getTrackProps }): element
Optionalleft
left?:boolean
Boolean value to control whether the left most track is included in the tracks array.
Optionalright
right?:boolean
Boolean value to control whether the right most track is included in the tracks array.
A function to render the tracks. The function receives an object with an array of tracks. Note:
getEventDatacan be called with an event and get the value and percent at that location (used for tooltips etc).activeHandleIDwill be a string or null. Function signature:({ getEventData, activeHandleID, tracks, getTrackProps }): element