Skip to content

Commit 84346c7

Browse files
committed
☑️ #28 & docs update
1 parent 4bf49e8 commit 84346c7

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const K_OPTIONS = [
1111
id: 'JUVE',
1212
},
1313
{
14-
item: 'Real Madrid Real Madrid Real Madrid Real Madrid',
14+
item: 'Real Madrid',
1515
id: 'RM',
1616
},
1717
{

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ export default App
148148
| multiListEmptyLabelStyle | style object | Default style |
149149
| listEmptyLabelStyle | style object | Default style |
150150
| selectedItemStyle | style object | Default style |
151+
searchInputProps | object | Default props |
152+
multiSelectInputFieldProps | object | Default props |
151153
| arrowIconColor | color string | Default primary color |
152154
| searchIconColor | color string | Default primary color |
153155
| toggleIconColor | color string | Default primary color |

lib/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ export default App
148148
| multiListEmptyLabelStyle | style object | Default style |
149149
| listEmptyLabelStyle | style object | Default style |
150150
| selectedItemStyle | style object | Default style |
151+
searchInputProps | object | Default props |
152+
multiSelectInputFieldProps | object | Default props |
151153
| arrowIconColor | color string | Default primary color |
152154
| searchIconColor | color string | Default primary color |
153155
| toggleIconColor | color string | Default primary color |

lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ function SelectBox({
141141
searchIconColor = Colors.primary,
142142
toggleIconColor = Colors.primary,
143143
searchInputProps,
144+
multiSelectInputFieldProps,
144145
} = props
145146
const filteredSuggestions = useMemo(
146147
() => options.filter((suggestion) => suggestion.item.toLowerCase().indexOf(inputValue.toLowerCase()) > -1),
@@ -211,6 +212,7 @@ function SelectBox({
211212
renderItem={renderGroupItem}
212213
horizontal={true}
213214
ListEmptyComponent={multiListEmptyComponent}
215+
{...multiSelectInputFieldProps}
214216
/>
215217
) : (
216218
<TouchableOpacity hitSlop={hitSlop} onPress={onPressShowOptions()}>

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-multi-selectbox",
3-
"version": "1.4.5",
3+
"version": "1.4.7",
44
"description": "Platform independent (Android / iOS) Selextbox | Picker | Multi-select | Multi-picker. The idea is to bring out the common user-interface & user-experience on both platforms..",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)