feat(SW-350): Update design for booking widget

This commit is contained in:
Pontus Dreij
2024-10-02 15:36:58 +02:00
parent e8027be2e8
commit d58c77493a
19 changed files with 162 additions and 33 deletions

View File

@@ -6,8 +6,11 @@ import type { Locations } from "@/types/trpc/routers/hotel/locations"
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
export type BookingWidgetType = "default" | "full"
export interface BookingWidgetClientProps {
locations: Locations
type: BookingWidgetType
}
export interface BookingWidgetToggleButtonProps {

View File

@@ -2,6 +2,7 @@ import type { Location, Locations } from "@/types/trpc/routers/hotel/locations"
export interface BookingWidgetFormProps {
locations: Locations
type: "default" | "full"
}
export interface BookingWidgetFormContentProps {