1.0.0 • Published 5 months ago
sariot-countries v1.0.0
sariot-countries
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 sariot-countries
# with yarn
yarn add sariot-countries
Usage
- Import the package in your app:
import {useCountry} from 'sariot-countries';
- Get the country information from the hook:
const {loading, error, country} = useCountry('Bangladesh')'
1.0.0
5 months ago