feat(SW-864): add to calendar functionality
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import type { EventAttributes } from "ics"
|
||||
|
||||
import type { RouterOutput } from "@/lib/trpc/client"
|
||||
|
||||
export interface AddToCalendarProps {
|
||||
checkInDate: RouterOutput["booking"]["confirmation"]["booking"]["checkInDate"]
|
||||
event: EventAttributes
|
||||
hotelName: RouterOutput["booking"]["confirmation"]["hotel"]["name"]
|
||||
}
|
||||
Reference in New Issue
Block a user