Skip to content

Commit ffdce1a

Browse files
Update README.md
Add appropriate documentation for new feature.
1 parent c6e3f25 commit ffdce1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ The component takes 3 compulsory props - `items`, `uniqueKey` and `onSelectedIte
137137
| itemFontSize | No | (Number) Font size used for each item in the multi-select drop-down |
138138
| itemTextColor | No | (String) Text color for each non-selected item in multi-select drop-down |
139139
| items | Yes | (Array, control prop) List of items to display in the multi-select component. JavaScript Array of objects. Each object must contain a name and unique identifier (Check sample above) |
140+
|noItemsText| No| (String) Text that replace default "no items to display"|
140141
| onAddItem | No | (Function) JavaScript function passed in as an argument. The function is called everytime a new item is added, and receives the entire list of items. Here you should ensure that the new items are added to your provided list of `items` in addition to any other consequences of new items being added. |
141142
| onChangeInput | No | (Function) JavaScript function passed in as an argument. The function is called everytime `TextInput` is changed with the value. |
142143
| onClearSelector | No | (Function) JavaScript function passeed in as an argument. The function is called everytime `back button` is pressed |

0 commit comments

Comments
 (0)