Skip to content

Interface: SelectProps ‹T›#

Type parameters#

▪ T

Hierarchy#

  • Props‹T, boolean›

  • CreatableProps‹T, boolean›

↳ SelectProps

Index#

Properties#

Methods#

Properties#

Optional allowCreateWhileLoading#

• allowCreateWhileLoading? : boolean

Inherited from SelectProps.allowCreateWhileLoading

Defined in node_modules/@types/react-select/src/Creatable.d.ts:11


Optional aria-label#

• aria-label? : string

Inherited from SelectProps.aria-label

Defined in node_modules/@types/react-select/src/Select.d.ts:61


Optional aria-labelledby#

• aria-labelledby? : string

Inherited from SelectProps.aria-labelledby

Defined in node_modules/@types/react-select/src/Select.d.ts:63


Optional autoConvertOptions#

• autoConvertOptions? : boolean

Defined in src/renderer/components/select/select.tsx:51


Optional autoFocus#

• autoFocus? : boolean

Inherited from SelectProps.autoFocus

Defined in node_modules/@types/react-select/src/Select.d.ts:65


Optional backspaceRemovesValue#

• backspaceRemovesValue? : boolean

Inherited from SelectProps.backspaceRemovesValue

Defined in node_modules/@types/react-select/src/Select.d.ts:67


Optional blurInputOnSelect#

• blurInputOnSelect? : boolean

Inherited from SelectProps.blurInputOnSelect

Defined in node_modules/@types/react-select/src/Select.d.ts:69


Optional captureMenuScroll#

• captureMenuScroll? : boolean

Inherited from SelectProps.captureMenuScroll

Defined in node_modules/@types/react-select/src/Select.d.ts:71


Optional className#

• className? : string

Inherited from SelectProps.className

Defined in node_modules/@types/react-select/src/Select.d.ts:73


Optional classNamePrefix#

• classNamePrefix? : string | null

Inherited from SelectProps.classNamePrefix

Defined in node_modules/@types/react-select/src/Select.d.ts:75


Optional closeMenuOnScroll#

• closeMenuOnScroll? : boolean | EventListener

Inherited from SelectProps.closeMenuOnScroll

Defined in node_modules/@types/react-select/src/Select.d.ts:90


Optional closeMenuOnSelect#

• closeMenuOnSelect? : boolean

Inherited from SelectProps.closeMenuOnSelect

Defined in node_modules/@types/react-select/src/Select.d.ts:77


Optional components#

• components? : SelectComponentsConfig‹T, boolean›

Inherited from SelectProps.components

Defined in node_modules/@types/react-select/src/Select.d.ts:100


Optional controlShouldRenderValue#

• controlShouldRenderValue? : boolean

Inherited from SelectProps.controlShouldRenderValue

Defined in node_modules/@types/react-select/src/Select.d.ts:102


Optional createOptionPosition#

• createOptionPosition? : "first" | "last"

Inherited from SelectProps.createOptionPosition

Defined in node_modules/@types/react-select/src/Creatable.d.ts:30


Optional defaultInputValue#

• defaultInputValue? : string

Inherited from SelectProps.defaultInputValue

Defined in node_modules/@types/react-select/src/Select.d.ts:210


Optional defaultMenuIsOpen#

• defaultMenuIsOpen? : boolean

Inherited from SelectProps.defaultMenuIsOpen

Defined in node_modules/@types/react-select/src/Select.d.ts:211


Optional defaultValue#

• defaultValue? : boolean extends true ? ValueType‹T, boolean› : ValueType‹T, false›

Inherited from SelectProps.defaultValue

Defined in node_modules/@types/react-select/src/Select.d.ts:212


Optional delimiter#

• delimiter? : string

Inherited from SelectProps.delimiter

Defined in node_modules/@types/react-select/src/Select.d.ts:104


Optional escapeClearsValue#

• escapeClearsValue? : boolean

Inherited from SelectProps.escapeClearsValue

Defined in node_modules/@types/react-select/src/Select.d.ts:106


Optional filterOption#

• filterOption? : function | null

Inherited from SelectProps.filterOption

Defined in node_modules/@types/react-select/src/Select.d.ts:108


Optional formatCreateLabel#

• formatCreateLabel? : function

Inherited from SelectProps.formatCreateLabel

Defined in node_modules/@types/react-select/src/Creatable.d.ts:14

Type declaration:#

▸ (inputValue: string): React.ReactNode

Parameters:

Name Type
inputValue string

Optional formatGroupLabel#

• formatGroupLabel? : formatGroupLabel‹T›

Inherited from SelectProps.formatGroupLabel

Defined in node_modules/@types/react-select/src/Select.d.ts:113


Optional formatOptionLabel#

• formatOptionLabel? : function

Inherited from SelectProps.formatOptionLabel

Defined in node_modules/@types/react-select/src/Select.d.ts:115

Type declaration:#

▸ (option: T, labelMeta: FormatOptionLabelMeta‹T, boolean›): React.ReactNode

Parameters:

Name Type
option T
labelMeta FormatOptionLabelMeta‹T, boolean›

Optional getNewOptionData#

• getNewOptionData? : function

Inherited from SelectProps.getNewOptionData

Defined in node_modules/@types/react-select/src/Creatable.d.ts:24

Type declaration:#

▸ (inputValue: string, optionLabel: React.ReactNode): T

Parameters:

Name Type
inputValue string
optionLabel React.ReactNode

Optional getOptionLabel#

• getOptionLabel? : getOptionLabel‹T›

Inherited from SelectProps.getOptionLabel

Defined in node_modules/@types/react-select/src/Select.d.ts:117


Optional getOptionValue#

• getOptionValue? : getOptionValue‹T›

Inherited from SelectProps.getOptionValue

Defined in node_modules/@types/react-select/src/Select.d.ts:119


Optional hideSelectedOptions#

• hideSelectedOptions? : boolean

Inherited from SelectProps.hideSelectedOptions

Defined in node_modules/@types/react-select/src/Select.d.ts:121


Optional id#

• id? : string

Inherited from SelectProps.id

Defined in node_modules/@types/react-select/src/Select.d.ts:123


Optional inputId#

• inputId? : string

Inherited from SelectProps.inputId

Defined in node_modules/@types/react-select/src/Select.d.ts:127


Optional inputValue#

• inputValue? : string

Inherited from SelectProps.inputValue

Defined in node_modules/@types/react-select/src/Select.d.ts:125


Optional instanceId#

• instanceId? : number | string

Inherited from SelectProps.instanceId

Defined in node_modules/@types/react-select/src/Select.d.ts:129


Optional isClearable#

• isClearable? : boolean

Inherited from SelectProps.isClearable

Defined in node_modules/@types/react-select/src/Select.d.ts:131


Optional isCreatable#

• isCreatable? : boolean

Defined in src/renderer/components/select/select.tsx:50


Optional isDisabled#

• isDisabled? : boolean

Inherited from SelectProps.isDisabled

Defined in node_modules/@types/react-select/src/Select.d.ts:133


Optional isLoading#

• isLoading? : boolean

Inherited from SelectProps.isLoading

Defined in node_modules/@types/react-select/src/Select.d.ts:135


Optional isMulti#

• isMulti? : boolean

Inherited from SelectProps.isMulti

Defined in node_modules/@types/react-select/src/Select.d.ts:141


Optional isOptionDisabled#

• isOptionDisabled? : function

Inherited from SelectProps.isOptionDisabled

Defined in node_modules/@types/react-select/src/Select.d.ts:137

Type declaration:#

▸ (option: T, options: OptionsType‹T›): boolean | false

Parameters:

Name Type
option T
options OptionsType‹T›

Optional isOptionSelected#

• isOptionSelected? : function

Inherited from SelectProps.isOptionSelected

Defined in node_modules/@types/react-select/src/Select.d.ts:139

Type declaration:#

▸ (option: T, options: OptionsType‹T›): boolean

Parameters:

Name Type
option T
options OptionsType‹T›

Optional isRtl#

• isRtl? : boolean

Inherited from SelectProps.isRtl

Defined in node_modules/@types/react-select/src/Select.d.ts:143


Optional isSearchable#

• isSearchable? : boolean

Inherited from SelectProps.isSearchable

Defined in node_modules/@types/react-select/src/Select.d.ts:145


Optional isValidNewOption#

• isValidNewOption? : function

Inherited from SelectProps.isValidNewOption

Defined in node_modules/@types/react-select/src/Creatable.d.ts:17

Type declaration:#

▸ (inputValue: string, value: ValueType‹T, boolean›, options: OptionsType‹T› | GroupedOptionsType‹T›): boolean

Parameters:

Name Type
inputValue string
value ValueType‹T, boolean›
options OptionsType‹T› | GroupedOptionsType‹T›

Optional loadingMessage#

• loadingMessage? : function

Inherited from SelectProps.loadingMessage

Defined in node_modules/@types/react-select/src/Select.d.ts:147

Type declaration:#

▸ (obj: object): string | null

Parameters:

▪ obj: object

Name Type
inputValue string

Optional maxMenuHeight#

• maxMenuHeight? : number

Inherited from SelectProps.maxMenuHeight

Defined in node_modules/@types/react-select/src/Select.d.ts:151


Optional menuClass#

• menuClass? : string

Defined in src/renderer/components/select/select.tsx:49


Optional menuIsOpen#

• menuIsOpen? : boolean

Inherited from SelectProps.menuIsOpen

Defined in node_modules/@types/react-select/src/Select.d.ts:153


Optional menuPlacement#

• menuPlacement? : MenuPlacement

Inherited from SelectProps.menuPlacement

Defined in node_modules/@types/react-select/src/Select.d.ts:156


Optional menuPortalTarget#

• menuPortalTarget? : HTMLElement | null

Inherited from SelectProps.menuPortalTarget

Defined in node_modules/@types/react-select/src/Select.d.ts:160


Optional menuPosition#

• menuPosition? : MenuPosition

Inherited from SelectProps.menuPosition

Defined in node_modules/@types/react-select/src/Select.d.ts:158


Optional menuShouldBlockScroll#

• menuShouldBlockScroll? : boolean

Inherited from SelectProps.menuShouldBlockScroll

Defined in node_modules/@types/react-select/src/Select.d.ts:162


Optional menuShouldScrollIntoView#

• menuShouldScrollIntoView? : boolean

Inherited from SelectProps.menuShouldScrollIntoView

Defined in node_modules/@types/react-select/src/Select.d.ts:164


Optional minMenuHeight#

• minMenuHeight? : number

Inherited from SelectProps.minMenuHeight

Defined in node_modules/@types/react-select/src/Select.d.ts:149


Optional name#

• name? : string

Inherited from SelectProps.name

Defined in node_modules/@types/react-select/src/Select.d.ts:166


Optional noOptionsMessage#

• noOptionsMessage? : function

Inherited from SelectProps.noOptionsMessage

Defined in node_modules/@types/react-select/src/Select.d.ts:168

Type declaration:#

▸ (obj: object): string | null

Parameters:

▪ obj: object

Name Type
inputValue string

Optional onBlur#

• onBlur? : FocusEventHandler

Inherited from SelectProps.onBlur

Defined in node_modules/@types/react-select/src/Select.d.ts:170


Optional onCreateOption#

• onCreateOption? : function

Inherited from SelectProps.onCreateOption

Defined in node_modules/@types/react-select/src/Creatable.d.ts:28

Type declaration:#

▸ (inputValue: string): void

Parameters:

Name Type
inputValue string

Optional onFocus#

• onFocus? : FocusEventHandler

Inherited from SelectProps.onFocus

Defined in node_modules/@types/react-select/src/Select.d.ts:174


Optional onInputChange#

• onInputChange? : function

Inherited from SelectProps.onInputChange

Defined in node_modules/@types/react-select/src/Select.d.ts:176

Type declaration:#

▸ (newValue: string, actionMeta: InputActionMeta): void

Parameters:

Name Type
newValue string
actionMeta InputActionMeta

Optional onKeyDown#

• onKeyDown? : KeyboardEventHandler

Inherited from SelectProps.onKeyDown

Defined in node_modules/@types/react-select/src/Select.d.ts:178


Optional onMenuClose#

• onMenuClose? : function

Inherited from SelectProps.onMenuClose

Defined in node_modules/@types/react-select/src/Select.d.ts:182

Type declaration:#

▸ (): void


Optional onMenuOpen#

• onMenuOpen? : function

Inherited from SelectProps.onMenuOpen

Defined in node_modules/@types/react-select/src/Select.d.ts:180

Type declaration:#

▸ (): void


Optional onMenuScrollToBottom#

• onMenuScrollToBottom? : function

Inherited from SelectProps.onMenuScrollToBottom

Defined in node_modules/@types/react-select/src/Select.d.ts:186

Type declaration:#

▸ (event: SyntheticEvent‹HTMLElement›): void

Parameters:

Name Type
event SyntheticEvent‹HTMLElement›

Optional onMenuScrollToTop#

• onMenuScrollToTop? : function

Inherited from SelectProps.onMenuScrollToTop

Defined in node_modules/@types/react-select/src/Select.d.ts:184

Type declaration:#

▸ (event: SyntheticEvent‹HTMLElement›): void

Parameters:

Name Type
event SyntheticEvent‹HTMLElement›

Optional openMenuOnClick#

• openMenuOnClick? : boolean

Inherited from SelectProps.openMenuOnClick

Defined in node_modules/@types/react-select/src/Select.d.ts:190


Optional openMenuOnFocus#

• openMenuOnFocus? : boolean

Inherited from SelectProps.openMenuOnFocus

Defined in node_modules/@types/react-select/src/Select.d.ts:188


Optional options#

• options? : GroupedOptionsType‹T› | OptionsType‹T›

Inherited from SelectProps.options

Defined in node_modules/@types/react-select/src/Select.d.ts:192


Optional pageSize#

• pageSize? : number

Inherited from SelectProps.pageSize

Defined in node_modules/@types/react-select/src/Select.d.ts:194


Optional placeholder#

• placeholder? : React.ReactNode

Inherited from SelectProps.placeholder

Defined in node_modules/@types/react-select/src/Select.d.ts:196


Optional screenReaderStatus#

• screenReaderStatus? : function

Inherited from SelectProps.screenReaderStatus

Defined in node_modules/@types/react-select/src/Select.d.ts:198

Type declaration:#

▸ (obj: object): string

Parameters:

▪ obj: object

Name Type
count number

Optional styles#

• styles? : StylesConfig‹T, boolean›

Inherited from SelectProps.styles

Defined in node_modules/@types/react-select/src/Select.d.ts:200


Optional tabIndex#

• tabIndex? : string | null

Inherited from SelectProps.tabIndex

Defined in node_modules/@types/react-select/src/Select.d.ts:204


Optional tabSelectsValue#

• tabSelectsValue? : boolean

Inherited from SelectProps.tabSelectsValue

Defined in node_modules/@types/react-select/src/Select.d.ts:206


Optional theme#

• theme? : ThemeConfig

Inherited from SelectProps.theme

Defined in node_modules/@types/react-select/src/Select.d.ts:202


Optional themeName#

• themeName? : "dark" | "light" | "outlined" | "lens"

Defined in src/renderer/components/select/select.tsx:48


Optional value#

• value? : T

Overrides void

Defined in src/renderer/components/select/select.tsx:47

Methods#

Optional onChange#

▸ onChange(option: T, meta?: ActionMeta‹any›): void

Overrides void

Defined in src/renderer/components/select/select.tsx:52

Parameters:

Name Type
option T
meta? ActionMeta‹any›

Returns: void