1.4.6 • Published 9 months ago

react-countries-details v1.4.6

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

react-countries-details

A tiny fully customizable react hook which gives you full details of countries with their flags, emojis, country calling codes, postal codes and many more...

How to use it?

You can use the package in this way:

Install

# with npm
npm install react-countries-details

# with yarn
yarn add react-countries-details

Usage

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

Author

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.4.0

9 months ago

1.3.0

9 months ago

1.2.0

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago