torque-pro-assistant - v1.0.0
    Preparing search index...
    interface BrushProps {
        color?: string;
        data: readonly Readonly<Record<string, number | undefined>>[];
        dataKey: string;
        height?: number;
        onChange: (range: readonly [number, number]) => void;
        range: readonly [number, number];
        testId?: string;
    }
    Index

    Properties

    color?: string
    data: readonly Readonly<Record<string, number | undefined>>[]
    dataKey: string

    Field name to render the silhouette of (typically speed_mph).

    height?: number

    Brush strip height in pixels. Defaults to the design's 56px.

    onChange: (range: readonly [number, number]) => void

    Fires with the new [from, to] data-index pair after each drag step.

    range: readonly [number, number]

    Controlled [from, to] data-index window.

    testId?: string