We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253c5c6 commit 4bf49e8Copy full SHA for 4bf49e8
lib/index.js
@@ -140,6 +140,7 @@ function SelectBox({
140
arrowIconColor = Colors.primary,
141
searchIconColor = Colors.primary,
142
toggleIconColor = Colors.primary,
143
+ searchInputProps,
144
} = props
145
const filteredSuggestions = useMemo(
146
() => options.filter((suggestion) => suggestion.item.toLowerCase().indexOf(inputValue.toLowerCase()) > -1),
@@ -282,6 +283,8 @@ function SelectBox({
282
283
placeholder={inputPlaceholder}
284
onChangeText={onChangeText()}
285
style={kInputFilterStyle}
286
+ placeholderTextColor="#000"
287
+ {...searchInputProps}
288
/>
289
<Icon name="searchBoxIcon" fill={searchIconColor} />
290
</View>
0 commit comments