replace-compound-slider API - v4.0.3
    Preparing search index...

    Type Alias TracksProps

    type TracksProps = {
        children: (tracksObject: TracksObject) => React.ReactNode;
        left?: boolean;
        right?: boolean;
    }
    Index

    Properties

    Properties

    children: (tracksObject: TracksObject) => React.ReactNode

    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

    left?: boolean

    Boolean value to control whether the left most track is included in the tracks array.

    right?: boolean

    Boolean value to control whether the right most track is included in the tracks array.