Option definition for enumerated configuration properties.

Represents a single selectable option with a display label and internal value. Used for configuration properties that have predefined valid values.

Example: Basic Options

const optionsList: OptionsType[] = [
{ label: 'Low Speed', value: 'low' },
{ label: 'Medium Speed', value: 'medium' },
{ label: 'High Speed', value: 'high' }
];
interface OptionsType {
    value: string;
    label: string;
}

Properties

Properties

value: string

The internal value used by the system

label: string

The human-readable display label