0.0.1 • Published 3 months ago

react-dpd-pickup-map v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

react-dpd-pickup-map

React component for implementing a DPD Pickup Map

Installation

Install react-dpd-pickup-map with npm

  npm install react-dpd-pickup-map

Usage/Examples

import ReactDPDPickupMap from 'react-dpd-pickup-map'

function App() {
  return <ReactDPDPickupMap
    authKey='YOUR_AUTH_KEY' //<- Your own auth key for pudofinder.dpd.com.pl
    lang='pl' //<- Defaults to: pl
    country='PL' //<- Defaults to: PL
    services={{
        openSaturdays=true
        openSundays=true
    }}
  />
}

Available services

ParameterTypeDefaultDescription
openLatebooleanfalsePoints open Late
openSaturdaysbooleanfalsePoints open in Saturdays
openSundaysbooleanfalsePoints open in Sundays
disabledFriendlybooleanfalsePoints friendly for disabled people
parkingbooleanfalsePoints with parking
directDeliverybooleanfalseDirect delivery
directDeliveryCODbooleanfalseDirect delivery with cash on delivery
dropOffOnlinebooleanfalseSending a paid shipment
dropOffOfflinebooleanfalsePoints with on-site shipping + payment and BOD
swapParcelbooleanfalsePoints with return shipment
dpdFoodbooleanfalsePoints with DPD Food
fittingRoombooleanfalsePoints with fitting room
cardPaymentbooleanfalsePoints with card payment
rodbooleanfalsePoint with return documents
dpdLQbooleanfalseDPD LG
digitalLabelbooleanfalsePoint with shipping without a label
swipBoxbooleanfalseParcela machines
pointsWithServicesbooleanfalsePoints with services

Authors

0.0.1

3 months ago