We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const data: Data = { label: 'displayed text', priority: true, data: { country: 'USA' }, };
label
Type: string | React.JSX.Element The value of the item shown in the selector.
string | React.JSX.Element
priority
Type: boolean Default value: undefined If enabled, the element will move to the top of the list regardless of its current position.
boolean
undefined
data
Type: object Default value: undefined Additional data for the item. This is not directly used by the Selector component.
object
There was an error while loading. Please reload this page.