Merged in feat/sw-397-alternative-hotels (pull request #1211) Feat/sw 397 alternative hotels * fix(SW-397): create alternative hotels page * update types * Adapt to new changes for fetching data * Make bookingcode optional * Code review fixes Approved-by: Simon.Emanuelsson
25 lines
691 B
TypeScript
25 lines
691 B
TypeScript
import type { VariantProps } from "class-variance-authority"
|
|
|
|
import type { AlertTypeEnum } from "@/types/enums/alert"
|
|
import type { SidepeekContent } from "@/types/trpc/routers/contentstack/siteConfig"
|
|
import type { alertVariants } from "./variants"
|
|
|
|
export interface AlertProps extends VariantProps<typeof alertVariants> {
|
|
className?: string
|
|
type: AlertTypeEnum
|
|
heading?: string | null
|
|
text?: string | null
|
|
phoneContact?: {
|
|
displayText: string
|
|
phoneNumber?: string
|
|
footnote?: string | null
|
|
} | null
|
|
sidepeekContent?: SidepeekContent | null
|
|
sidepeekCtaText?: string | null
|
|
link?: {
|
|
url: string
|
|
title: string
|
|
keepSearchParams?: boolean
|
|
} | null
|
|
}
|