DialogOption

interface DialogOption<V extends string | number = string | number> { label: string value: V }

One choice of a dropdown in Api.showDialog

Type Parameters

  • V extends string | number = string | number

Properties

label: string

Text shown in the list

value: V

Value returned when chosen