Files
web/components/TempDesignSystem/Card/card.ts
2024-05-21 15:23:06 +02:00

25 lines
568 B
TypeScript

import { cardVariants } from "./variants"
import type { VariantProps } from "class-variance-authority"
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?: { url: string }
}