Interface InfoPanelToggleParams

Common params for every builder.

interface InfoPanelToggleParams {
    id?: string;
    label: string;
    onChange?: (value: boolean) => void;
    title?: string;
    value?: boolean;
}

Hierarchy (View Summary)

Properties

id?: string

Stable id for later updates / lookups. Auto-assigned if omitted.

label: string

User-facing label rendered to the left of the control.

onChange?: (value: boolean) => void

Fires when the user toggles the control.

title?: string

Tooltip on hover.

value?: boolean

Initial state. Default false.