File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ export type PaperSelectTextInputProps = Pick<
22
22
| 'activeUnderlineColor'
23
23
| 'outlineColor'
24
24
| 'activeOutlineColor'
25
+ | 'left'
26
+ | 'right'
25
27
> ;
26
28
27
29
export interface PaperSelectProps {
Original file line number Diff line number Diff line change @@ -70,6 +70,14 @@ const PaperSelect = ({
70
70
textInputPropOverrides ?. activeUnderlineColor || 'black' ,
71
71
outlineColor : textInputPropOverrides ?. outlineColor || 'black' ,
72
72
activeOutlineColor : textInputPropOverrides ?. activeOutlineColor || 'black' ,
73
+ left : textInputPropOverrides ?. left ,
74
+ right : textInputPropOverrides ?. right ?? (
75
+ < TextInput . Icon
76
+ style = { styles . textInputIcon }
77
+ size = { 20 }
78
+ icon = "chevron-down"
79
+ />
80
+ ) ,
73
81
} ;
74
82
75
83
const [ searchKey , setSearchKey ] = useState < string > ( '' ) ;
@@ -244,13 +252,6 @@ const PaperSelect = ({
244
252
onFocus = { disabled ? undefined : _onFocus }
245
253
showSoftInputOnFocus = { false }
246
254
value = { value }
247
- right = {
248
- < TextInput . Icon
249
- style = { styles . textInputIcon }
250
- size = { 20 }
251
- icon = "chevron-down"
252
- />
253
- }
254
255
/>
255
256
{ errorText ? (
256
257
< Text
You can’t perform that action at this time.
0 commit comments