SelectOption

interface SelectOption

Option displayed in a select menu.

exported from lib.weeble.d

Properties

Property

Type

Description

default?

boolean

Indicates whether this option is pre-selected by default.

description?

string

Optional description shown below the label.

emoji?

EmojiData

Optional emoji shown next to the option.

label

string

User-visible label for the option.

value

string

Dev-facing value returned on selection.