feat: make steps of enter details flow dynamic depending on data
This commit is contained in:
10
types/providers/steps.ts
Normal file
10
types/providers/steps.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { BedTypeSelection } from "@/types/components/hotelReservation/enterDetails/bedType"
|
||||
import { StepEnum } from "@/types/enums/step"
|
||||
import type { BreakfastPackage } from "../components/hotelReservation/enterDetails/breakfast"
|
||||
|
||||
export interface StepsProviderProps extends React.PropsWithChildren {
|
||||
bedTypes: BedTypeSelection[]
|
||||
breakfastPackages: BreakfastPackage[] | null
|
||||
isMember: boolean
|
||||
step: StepEnum
|
||||
}
|
||||
Reference in New Issue
Block a user