0.1.6 • Published 1 year ago
pages-sdk v0.1.6
pages-sdk
Library containing components and helper functions for pages project
Installation
Run the following command:
npm install pages-sdk
For development run npm i --legacy-peer-deps
as one of the dependencies have a compatibility issue.
Components
Map
Searchbar
Helper functions
convertDistance
- fromgeolib
getDistance
- fromgeolib
filterLocations
getBusinessHours
formatPhoneNumber
getLocationSlug
getOperationHours
getTimeOnClosed
getTimeSlotString
getTimeString
sortHours
sortLocationsFromNearestToFarthest
validateSpecialDate