use-country-info
Advanced tools
Comparing version 1.0.21 to 1.0.22
{ | ||
"name": "use-country-info", | ||
"description": "use-country-info", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Erik Ferreira de Lima <erik.lima.f@outlook.com>", |
@@ -232,8 +232,2 @@ # use-country-info | ||
## | ||
In the above example, we import the useCountryInfoFetcher hook and use it in the CountryInfo component. The hook returns two variables: allInfo and callingCountries, which contain the information for all countries and the specific information for the calling codes of each country, respectively. | ||
You can use these variables to render the country information in your component or use it as needed. | ||
## Contribution | ||
@@ -240,0 +234,0 @@ This is an open-source project, and we welcome contributions from the community. If you encounter issues, bugs, or have ideas for improvements, feel free to open an issue or submit a pull request in the official repository on GitHub. |
1532853
240