Class SelectPromptItem
Display
Optionalsubtitle
subtitle?: string
Optional subtitle text to display smaller below the title. Useful if options require greater levels of explanation to assist the selecting the correct option.
Optionalsymbol Name
symbolName?: string
The name of a valid SF Symbol available on the platform. It will be displayed as a small icon next to the item title, if provided. Valid symbol names can be found using Apple's SF Symbols app or other third party tools and online references.
title
title: string
The text to explain the item. Should be descriptive, user-facing value.
Other
constructor
Create new instance.
Returns SelectPromptItem
id
id: string
Unique identifier for the item. No two items in the same SelectPrompt should have the same ID.
Staticcreate
Create new instance.
Parameters
- id: string
- title: string
Optionalsubtitle: stringOptionalsymbolName: string
Returns SelectPromptItem

See {SelectPrompt} documentation for usage.