27 lines
638 B
TypeScript
27 lines
638 B
TypeScript
import { cardVariants } from "./variants"
|
|
|
|
import type { VariantProps } from "class-variance-authority"
|
|
|
|
import type { ImageVaultAsset } from "@/types/components/imageVault"
|
|
|
|
export interface CardProps
|
|
extends React.HTMLAttributes<HTMLDivElement>,
|
|
VariantProps<typeof cardVariants> {
|
|
primaryButton?: {
|
|
href: string
|
|
title: string
|
|
openInNewTab?: boolean
|
|
isExternal: boolean
|
|
}
|
|
secondaryButton?: {
|
|
href: string
|
|
title: string
|
|
openInNewTab?: boolean
|
|
isExternal: boolean
|
|
}
|
|
scriptedTopTitle?: string | null
|
|
heading?: string | null
|
|
bodyText?: string | null
|
|
backgroundImage?: ImageVaultAsset
|
|
}
|