Interface SelectOptions

Structure for the select element options

interface SelectOptions {
    selected?: boolean;
    text?: string;
    value?: string;
}

Properties

selected?: boolean

Is this option selected?

text?: string

Displayed text of the option.

value?: string

Value of the option.