options

options: string[] | [key: string]: string

options for select dropdown.

example
// Example of {[key: string]: string} usage: <Select options={{ option1: "Option 1", option2: "Option 2", option3: "Option 3", }} />

// Example of string[] usage: <Select options={[ "Option 1", "Option 2", "Option 3", ]} /> }

Defined in

Last Updated: 13 June, 2024