Skip to content

Commit 15dad71

Browse files
committed
chore: bump version, add contributor names
1 parent 98f2e57 commit 15dad71

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,19 @@ export default function App() {
140140
- `disableNativeModal?`: boolean (you have to wrap your all app with CountryModalProvider)
141141
- `preferredCountries`: [CountryCode](https://github.com/xcarpentier/react-native-country-picker-modal/blob/master/src/types.ts#L254) preferred countries they appear first (`withAlphaFilter` must be false)
142142

143+
### Caveats
144+
145+
Dynamically changing the translation, excludeCountries, and some other
146+
props that affect the country list may give inconsistent results. In
147+
particular, the search index is only calculated on first use and so
148+
the changes to new language or different excluded countries will be
149+
inconsistent.
150+
143151
## Dark theme example
144152

145-
<p align="center">
146-
<img alt="react-native-country-picker-modal-dark" src="https://user-images.githubusercontent.com/2692166/40585272-094f817a-61b0-11e8-9668-abff0aeddb0e.png" width=150>
147-
</p>
153+
<p align="center"> <img alt="react-native-country-picker-modal-dark"
154+
src="https://user-images.githubusercontent.com/2692166/40585272-094f817a-61b0-11e8-9668-abff0aeddb0e.png"
155+
width=150> </p>
148156

149157
A simple example to display a `CountryPicker` component with a dark theme.
150158

@@ -181,6 +189,8 @@ YES : It used the world-countries package and image is stored into json and base
181189
## Contribution
182190

183191
- [@xcapentier](mailto:[email protected]) The main author.
192+
- [@kanimetov](https://github.com/kanimetov) -- Arabic and Hebrew translations.
193+
- [@mrflip](https://github.com/mrflip) -- updated to Expo 46 and minor fixes.
184194

185195
## Questions
186196

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-country-picker-modal",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "react-native country picker",
55
"main": "node_modules/expo/AppEntry.js",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)