1.0.0 • Published 1 year ago

react-countries-npm-pac v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

react-countries-npm-pac

A ReactJS hook to get the country information.

🫶 Support

Liked it? You can show your support with a STAR(⭐).

How to use it?

You can use the project in this way:

Install

# with npm
npm install react-countries-npm-pac

# with yarn
yarn add react-countries-npm-pac

Usage

  • Import the package in your app:
import { useCountry } from "react-countries-npm-pac";
  • Get the country information from the hook:
const {loading, error, country} = useCountry('Republic Of India')'
1.0.0

1 year ago