File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/Shared/Components/SelectPicker Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,17 @@ import { ReactElement, ReactNode } from 'react'
4
4
import { Props as ReactSelectProps } from 'react-select'
5
5
6
6
export interface SelectPickerOptionType extends OptionType < number | string , ReactNode > {
7
+ /**
8
+ * Description to be displayed for the option
9
+ */
7
10
description ?: string
11
+ /**
12
+ * Icon at the start of the option
13
+ */
8
14
startIcon ?: ReactElement
15
+ /**
16
+ * Icon at the end of the option
17
+ */
9
18
endIcon ?: ReactElement
10
19
}
11
20
@@ -28,8 +37,9 @@ export interface SelectPickerProps
28
37
| 'isLoading'
29
38
| 'required'
30
39
| 'isOptionDisabled'
40
+ | 'placeholder'
31
41
> ,
32
- Required < Pick < SelectProps , 'classNamePrefix' | 'inputId' | 'name' | 'placeholder' > > {
42
+ Required < Pick < SelectProps , 'classNamePrefix' | 'inputId' | 'name' > > {
33
43
/**
34
44
* Icon to be rendered in the control
35
45
*/
You can’t perform that action at this time.
0 commit comments