feat(SW-498): Added Alert component
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user