SheetXL - v1.0.7
    Preparing search index...

    Interface GradientEditorProps

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

    Hierarchy

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

    The most stops the editor will author. See GradientStopsBarProps.maxStops.

    minStops?: number

    The fewest stops the editor will leave. See GradientStopsBarProps.minStops.

    onChange: (value: GradientValue) => void
    recentColors?: readonly IColor[] | (() => readonly IColor[])
    schemeLookup?: SchemeLookup

    Theme color resolution for the stop pickers.