Skip to content

Commit 7874a95

Browse files
committed
chore: udpate README
1 parent 560bf52 commit 7874a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ yarn add react-native-element-dropdown
4545
| valueField | String | Yes | Extract the primary key from the data item |
4646
| searchField | String | No | Specify the field of data list you want to search |
4747
| onChange | (item: object) => void | Yes | Selection callback |
48-
| onChangeText | (search: string) => void | Yes | Callback that is called when the text input's text changes |
48+
| onChangeText | (search: string) => void | No | Callback that is called when the text input's text changes |
4949
| value | Item | No | Set default value |
5050
| placeholder | String | No | The string that will be rendered before dropdown has been selected |
5151
| placeholderStyle | TextStyle | No | Styling for text placeholder |
@@ -100,7 +100,7 @@ yarn add react-native-element-dropdown
100100
| valueField | String | Yes | Extract the primary key from the data item |
101101
| searchField | String | No | Specify the field of data list you want to search |
102102
| onChange | (value[]) => void | Yes | Selection callback. A array containing the "valueField". |
103-
| onChangeText | (search: string) => void | Yes | Callback that is called when the text input's text changes |
103+
| onChangeText | (search: string) => void | No | Callback that is called when the text input's text changes |
104104
| value | Item[] | No | Set default value. A array containing the "valueField". |
105105
| placeholder | String | No | The string that will be rendered before dropdown has been selected |
106106
| placeholderStyle | TextStyle | No | Styling for text placeholder |

0 commit comments

Comments
 (0)