A ReactJS hook to get the Bangladesh Country Divisions information.
You can use the project in this way:
# with npm
npm install rabbis-divisions
# with yarn
yarn add rabbis-divisions
- Import the package in your app:
import {useDivisions} from 'rabbis-divisions';
- Get the country information from the hook:
const {loading, error, divisions} = useDivisions('rangpur')