import { BookingWidget } from "@/components/BookingWidget"

import type { BookingWidgetSearchData } from "@/types/components/bookingWidget"
import type { LangParams, PageArgs } from "@/types/params"

export default async function BookingWidgetPage(
  props: PageArgs<LangParams, BookingWidgetSearchData>
) {
  const searchParams = await props.searchParams

  return <BookingWidget bookingWidgetSearchParams={searchParams} />
}
