react-select-country-list
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "react-select-country-list", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Maps ISO 3166-1-alpha-2 codes to English country names and match react-select options props", | ||
@@ -5,0 +5,0 @@ "main": "country-list.js", |
@@ -106,7 +106,2 @@ # react-select-country-list | ||
### native() | ||
You may want to display native name of countries, this is the method for you. | ||
The data source of native names can be found [here](https://annexare.github.io/Countries/) | ||
#### Usage | ||
@@ -122,7 +117,15 @@ ```js | ||
### native() | ||
You may want to display native name of countries, this is the method for you. | ||
The data source of native names can be found [here](https://annexare.github.io/Countries/) | ||
#### Usage | ||
```js | ||
countries.native().getLabel('TW') // 臺灣 | ||
``` | ||
## License | ||
MIT |
36587
130