sub-task: SW-685 Optimized params
This commit is contained in:
@@ -16,17 +16,12 @@ export type BookingWidgetSearchParams = {
|
||||
fromDate?: string
|
||||
toDate?: string
|
||||
room?: GuestsRoom[]
|
||||
[key: string]: string | string[] | GuestsRoom[] | undefined
|
||||
}
|
||||
|
||||
export type BookingWidgetType = VariantProps<
|
||||
typeof bookingWidgetVariants
|
||||
>["type"]
|
||||
|
||||
export interface BookingWidgetPageProps {
|
||||
searchParams?: URLSearchParams
|
||||
}
|
||||
|
||||
export interface BookingWidgetProps {
|
||||
type?: BookingWidgetType
|
||||
searchParams?: URLSearchParams
|
||||
|
||||
Reference in New Issue
Block a user