1.0.3 • Published 5 months ago

get-country-details v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

get-country-details

A ReactJS hook to get the country information.

How to use it?

You can use the project in this way:

Install

# with npm
npm install get-country-details

# with yarn
yarn add get-country-details

Usage

  • Import the package in your app:
import { useGetCountryDetails } from 'get-country-details';
  • Get the country information from the hook:
const {loading, error, country} = useGetCountryDetails('Bangladesh')'
1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago