SelectProps
Home > @backstage/ui > SelectProps
Signature:
export interface SelectProps<T extends 'single' | 'multiple'> extends AriaSelectProps<Option, T>, Omit<FieldLabelProps, 'htmlFor' | 'id' | 'className'>
Extends: AriaSelectProps<Option, T>, Omit<FieldLabelProps, 'htmlFor' | 'id' | 'className'>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ReactNode |
(Optional) An icon to render before the input | ||
|
Array<Option> |
(Optional) The options of the select field | ||
|
boolean |
(Optional) Enable search/filter functionality in the dropdown | ||
|
string |
(Optional) placeholder text for the search input only used when searchable is true | ||
|
T |
(Optional) Selection mode, single or multiple | ||
|
'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>> |
(Optional) The size of the select field |