Share via


Choice interface

An instance of a choice that can be used to render a choice to a user or recognize something a user picked.

Properties

action

An optional action associated with the choice, such as a button click.

synonyms

Optional synonyms that can be used to recognize the choice.

value

The value of the choice, which is used to identify the choice.

Property Details

action

An optional action associated with the choice, such as a button click.

action?: CardAction

Property Value

synonyms

Optional synonyms that can be used to recognize the choice.

synonyms?: string[]

Property Value

string[]

value

The value of the choice, which is used to identify the choice.

value: string

Property Value

string