Skip to content

GradientEditor beta ​

Function of @v12-engine/editor

ts
export declare function GradientEditor(props: {
    name: string;
    value: Gradient;
    onSet: (value: Gradient, merge?: boolean) => void;
    about?: string;
    when?: string;
    picked?: number;
}): import("solid-js").JSX.Element;

A colour over a life: the bar of it, its stops dragged along it, the one picked coloured (with how opaque, and another colour for a random between the two)