raizinx-countries
v1.0.2
Published
This is an NPM to fetch you the country details
Downloads
4
Readme
Description
This is an react package
How to use it?
You can use the project in this way:
Install
# with npm
npm install tapas-countries
# with yarn
yarn add tapas-countries
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')'