Skip to content

Commit

Permalink
chore: bump version, add contributor names
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflip committed Sep 22, 2022
1 parent 98f2e57 commit 15dad71
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,19 @@ export default function App() {
- `disableNativeModal?`: boolean (you have to wrap your all app with CountryModalProvider)
- `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)

### Caveats

Dynamically changing the translation, excludeCountries, and some other
props that affect the country list may give inconsistent results. In
particular, the search index is only calculated on first use and so
the changes to new language or different excluded countries will be
inconsistent.

## Dark theme example

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

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

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

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

## Questions

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-country-picker-modal",
"version": "2.0.0",
"version": "2.1.0",
"description": "react-native country picker",
"main": "node_modules/expo/AppEntry.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 15dad71

Please sign in to comment.