25 lines
636 B
TypeScript
25 lines
636 B
TypeScript
import { alertVariants } from "./variants"
|
|
|
|
import type { VariantProps } from "class-variance-authority"
|
|
|
|
import { AlertTypeEnum } from "@/types/enums/alert"
|
|
import type { SidepeekContent } from "@/types/trpc/routers/contentstack/siteConfig"
|
|
|
|
export interface AlertProps extends VariantProps<typeof alertVariants> {
|
|
className?: string
|
|
type: AlertTypeEnum
|
|
heading?: string
|
|
text: string
|
|
phoneContact?: {
|
|
displayText: string
|
|
phoneNumber?: string
|
|
footnote?: string | null
|
|
} | null
|
|
sidepeekContent?: SidepeekContent | null
|
|
sidepeekCtaText?: string | null
|
|
link?: {
|
|
url: string
|
|
title: string
|
|
} | null
|
|
}
|