Skip to content

Commit 4bf49e8

Browse files
committed
☑️ #27
1 parent 253c5c6 commit 4bf49e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ function SelectBox({
140140
arrowIconColor = Colors.primary,
141141
searchIconColor = Colors.primary,
142142
toggleIconColor = Colors.primary,
143+
searchInputProps,
143144
} = props
144145
const filteredSuggestions = useMemo(
145146
() => options.filter((suggestion) => suggestion.item.toLowerCase().indexOf(inputValue.toLowerCase()) > -1),
@@ -282,6 +283,8 @@ function SelectBox({
282283
placeholder={inputPlaceholder}
283284
onChangeText={onChangeText()}
284285
style={kInputFilterStyle}
286+
placeholderTextColor="#000"
287+
{...searchInputProps}
285288
/>
286289
<Icon name="searchBoxIcon" fill={searchIconColor} />
287290
</View>

0 commit comments

Comments
 (0)