Interface ColorPickerComponentProps

Props for the ColorPicker inspector component.

interface ColorPickerComponentProps {
    inspector: Inspector;
    maxColors?: number;
    propertyName: string;
}

Properties

inspector: Inspector

Inspector to attach to. Required.

maxColors?: number

Maximum color swatches to show. Defaults to 10.

propertyName: string

Property name in the data that this picker represents. Required.

Version :