countries-sample

1.0.2 • Public • Published

tapas-countries

A ReactJS hook to get the country information.

🫶 Support

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

Many Thanks to all the Stargazers who has supported this project with stars(⭐)

Thanks to all stargazers

Sponsor My Work

I am an independent educator who creates meaningful projects to teach programming. You can support me further by sponsoring me on GitHub.

How to use it?

You can use the project in this way:

Install

# with npm
npm install countries-sample

# with yarn
yarn add countries-sample

Usage

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

Package Sidebar

Install

npm i countries-sample

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

1.75 kB

Total Files

2

Last publish

Collaborators

  • brain2021