feat(SW-718): parse room from searchParams
This commit is contained in:
@@ -41,10 +41,15 @@ export interface PaymentClientProps
|
||||
savedCreditCards: CreditCard[] | null
|
||||
}
|
||||
|
||||
export interface RoomParam {
|
||||
adults: number
|
||||
children?: { age: number; bed: number }[]
|
||||
}
|
||||
|
||||
export interface SectionPageProps {
|
||||
breakfast?: string
|
||||
bed?: string
|
||||
fromDate: string
|
||||
toDate: string
|
||||
room: { adults: number; child: { age: number; bed: number }[] }[]
|
||||
room: RoomParam[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user