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

This commit is contained in:
Pontus Dreij
2024-10-02 15:51:37 +02:00
parent d58c77493a
commit 04406d3865
6 changed files with 15 additions and 14 deletions
+5 -1
View File
@@ -8,9 +8,13 @@ export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
export type BookingWidgetType = "default" | "full"
export interface BookingWidgetProps {
type?: BookingWidgetType
}
export interface BookingWidgetClientProps {
locations: Locations
type: BookingWidgetType
type?: BookingWidgetType
}
export interface BookingWidgetToggleButtonProps {
+2 -1
View File
@@ -1,8 +1,9 @@
import type { BookingWidgetType } from "@/types/components/bookingWidget"
import type { Location, Locations } from "@/types/trpc/routers/hotel/locations"
export interface BookingWidgetFormProps {
locations: Locations
type: "default" | "full"
type?: BookingWidgetType
}
export interface BookingWidgetFormContentProps {