feat(SW-914): add parking prices component

This commit is contained in:
Fredrik Thorsson
2024-11-27 09:23:52 +01:00
parent 29e56d35eb
commit 9b208d01ea
3 changed files with 64 additions and 76 deletions

View File

@@ -3,3 +3,15 @@ import type { Hotel } from "@/types/hotel"
export type ParkingAmenityProps = {
parking: Hotel["parking"]
}
type parkingData = {
period?: string
amount?: number
startTime?: string
endTime?: string
}
export type ParkingPricesProps = {
data?: parkingData[]
currency?: Hotel["parking"][number]["pricing"]["localCurrency"]["currency"]
}