price_calculation_sdk
v1.0.10
Published
Custom price calculator for hotelzify.
Downloads
3
Readme
Price calculation SDK
A custom React hook for managing and updating state with an initial value. This hook logs the value to the console whenever it changes.
Installation
You can install this package using npm:
useOldPriceCalculator params { selectedRooms, selectedHotelAddons, hotelData, promotions, selectedAddons, dateCount, totalAdult, roomSlots, isHourlyRoom, }
usePriceCalculator params { selectedRatePlans = [], hotelData = {}, dateCount, selectedHotelAddons = [], promotions = [], }
npm i price_calculation_sdk