feat(SW-350): updated BookingWidgetType

This commit is contained in:
Pontus Dreij
2024-10-07 11:04:44 +02:00
parent e776b1552a
commit 6bcb7a6126

View File

@@ -1,12 +1,16 @@
import { VariantProps } from "class-variance-authority"
import { z } from "zod"
import { bookingWidgetSchema } from "@/components/Forms/BookingWidget/schema"
import { bookingWidgetVariants } from "@/components/Forms/BookingWidget/variants"
import type { Locations } from "@/types/trpc/routers/hotel/locations"
export type BookingWidgetSchema = z.output<typeof bookingWidgetSchema>
export type BookingWidgetType = "default" | "full"
export type BookingWidgetType = VariantProps<
typeof bookingWidgetVariants
>["type"]
export interface BookingWidgetProps {
type?: BookingWidgetType