-
-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump version, add contributor names
- Loading branch information
Showing
5 changed files
with
133 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
||
|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.