Files
web/components/TempDesignSystem/Alert/alert.ts
2024-10-22 10:50:56 +02:00

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
}