1.0.0 • Published 11 months ago

bedata-countries v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

bedata-countries

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 bedata-countries

# with yarn
yarn add bedata-countries

Usage

  • Import the package in your app:
import {useCountry} from 'bedata-countries';
  • Get the country information from the hook:
const {loading, error, country} = useCountry('Bangladesh')
1.0.0

11 months ago