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 95f7df4 commit 15b219fCopy full SHA for 15b219f
lib/index.js
@@ -142,6 +142,7 @@ function SelectBox({
142
toggleIconColor = Colors.primary,
143
searchInputProps,
144
multiSelectInputFieldProps,
145
+ listOptionProps = {},
146
} = props
147
const filteredSuggestions = useMemo(
148
() => options.filter((suggestion) => suggestion.item.toLowerCase().indexOf(inputValue.toLowerCase()) > -1),
@@ -237,8 +238,9 @@ function SelectBox({
237
238
maxToRenderPerBatch={20}
239
windowSize={10}
240
ListEmptyComponent={optionListEmpty}
- style={kOptionsHeight}
241
+ style={[kOptionsHeight, listOptionProps.style]}
242
ListHeaderComponent={HeaderComponent()}
243
+ {...listOptionProps}
244
/>
245
)}
246
</View>
0 commit comments