interface SettingsField {
    defaultValue?: string | number | boolean;
    group?: FieldGroup;
    kind: FieldKind;
    label: string;
    max?: number;
    min?: number;
    options?: readonly { label: string; value: string }[];
    path: string;
    step?: number;
}

Properties

defaultValue?: string | number | boolean

Value displayed when the drawing has not overridden this setting.

group?: FieldGroup
kind: FieldKind
label: string
max?: number
min?: number
options?: readonly { label: string; value: string }[]

For select and lineStyle: the values a host may offer.

path: string

Dot path into the drawing. Two segments under style, text, props or intervals (style.lineWidth, intervals.to), or one of the top-level fields locked, visible, zIndex, space.

step?: number