SheetXL - v1.0.7
    Preparing search index...

    Interface GradientStopsBarProps

    interface GradientStopsBarProps {
        darkMode?: boolean;
        disabled?: boolean;
        maxStops?: number;
        minStops?: number;
        onChange: (stops: GradientStopValue[]) => void;
        recentColors?: readonly IColor[] | (() => readonly IColor[]);
        schemeLookup?: SchemeLookup;
        stops: GradientStopValue[];
    }

    Hierarchy

    • Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">
      • GradientStopsBarProps
    Index
    darkMode?: boolean
    disabled?: boolean
    maxStops?: number

    The most stops the bar will add.

    8 — beyond this the handles stop being tellable apart in a pane.
    
    minStops?: number

    The fewest stops the bar will leave; a stop cannot be removed below it.

    2 — a gradient is undefined with fewer colors, and the model says so too.
    
    onChange: (stops: GradientStopValue[]) => void

    The stops after any edit, in offset order.

    recentColors?: readonly IColor[] | (() => readonly IColor[])
    schemeLookup?: SchemeLookup

    Theme color resolution for the stop pickers and the ramp.