react-native-country-picker-modal
Advanced tools
Comparing version 0.1.2 to 0.1.5
{ | ||
"name": "react-native-country-picker-modal", | ||
"version": "0.1.2", | ||
"version": "0.1.5", | ||
"description": "Country picker", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "babel src --out-dir dist --presets es2015,react", | ||
"watch": "babel src --out-dir dist --watch --presets es2015,react" | ||
}, | ||
"main": "src/CountryPicker.js", | ||
"repository": { | ||
@@ -28,5 +24,2 @@ "type": "git", | ||
"devDependencies": { | ||
"babel-cli": "6.9.0", | ||
"babel-preset-es2015": "6.9.0", | ||
"babel-preset-react": "6.5.0", | ||
"cz-conventional-changelog": "1.1.6" | ||
@@ -33,0 +26,0 @@ }, |
@@ -9,3 +9,3 @@ [**Support me with a Follow**](https://github.com/xcarpentier/followers) | ||
![](http://i.imgur.com/WF4sdT7.gif) | ||
![](http://i.giphy.com/3oD3YEArxJ0z8iJ3Da.gif) | ||
@@ -107,2 +107,14 @@ ## Installation | ||
## Props | ||
| Key | Type | Default | Description | | ||
| --- | --- | --- | --- | | ||
| cca2 | string | *required | code ISO 3166-1 alpha-2 (ie. FR, US, etc.)| | ||
| translation | string | 'eng' | The language display for the name of the country | | ||
| onChange | function | *required | The handler when a country is selected | | ||
| closeable | bool | false | If true, the CountryPicker will have a close button | | ||
## Dependencies | ||
- world-countries : https://www.npmjs.com/package/world-countries | ||
## FAQ | ||
@@ -109,0 +121,0 @@ ### Is it supported and tested both on android and iOS? |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
13
133
395132
1926
1