UNPKG

pathao-tracker-bd

Version:

A React component for tracking Pathao consignments

93 lines (54 loc) 2.64 kB
# pathao-tracker - React Component , wordpress, HTML Track Pathao Consignments Pathao Courier allows users to seamlessly track their orders through a Consignment ID. This feature involves sharing a unique Consignment ID and tracking link via SMS when the courier pickup is processed by the merchant. The user can use this Consignment ID to track the status of their order on both the Pathao Courier app and website/shop Website. ![Logo](https://raw.githubusercontent.com/securi3ytalent/pathao-courier-tracking/refs/heads/main/Img/pathaoTrackingDemo.png) ## Features - Enter **Consignment ID** and **Phone Number**. - Generates a **Tracking URL** for Pathao's consignment tracking. - Easy to integrate with any React application. ## Installation To use the `pathao-tracker` component in your React app, follow the steps below. ### 1. Install via NPM In your React project, run the following command to install the package: npm install pathao-tracker ## 2. Install via Yarn If you use Yarn as your package manager, run: yarn add pathao-tracker ## Usage Once the package is installed, you can use the PathaoTracker component in your React project. Example: ```shell import React from 'react'; import PathaoTracker from "pathao-tracker-bd"; function App() { return ( <div> <h1>Track Your Pathao Consignment</h1> <PathaoTracker /> </div> ); } export default App; ``` Component Props The PathaoTracker component doesn't require any props. It will automatically manage the internal state of the consignment ID, phone number, and generated tracking URL. Usage Details Consignment ID and Phone Number are required fields. Once the user submits the form, a clickable tracking link will be displayed that redirects to the Pathao tracking page. ### More information you can visit https://github.com/securi3ytalent/pathao-courier-tracking ## Support For support, email devmehedi101@gmail.com ### follow Us: - https://t.me/Securi3yTalent - https://www.facebook.com/Securi3ytalent/ - https://x.com/Securi3yTalent ## License This project is licensed under the MIT License - see the LICENSE file for details. This `README.md` includes all necessary sections, such as: -Description of the project -Features -Installation instructions (via NPM and Yarn) -Usage example with React -Component props explanation (indicating that no props are required) -License section(can be customized or removed depending on your licensing choice) Let me know if you'd like any further additions or modifications!