17 lines
494 B
TypeScript
17 lines
494 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
|
|
closeable?: boolean
|
|
heading?: string
|
|
text: string
|
|
sidepeekContent?: SidepeekContent | null
|
|
sidePeekCtaText?: string | null
|
|
}
|