27 lines
566 B
TypeScript
27 lines
566 B
TypeScript
import { VariantProps } from "class-variance-authority"
|
|
|
|
import { contentCardVariants } from "@/components/TempDesignSystem/ContentCard/variants"
|
|
|
|
export interface CTA {
|
|
label: string
|
|
href: string
|
|
openInNewTab?: boolean
|
|
}
|
|
|
|
export interface SidePeekCTA {
|
|
label: string
|
|
// onClick: () => void
|
|
onClick: boolean
|
|
}
|
|
|
|
export interface ContentCardProps
|
|
extends VariantProps<typeof contentCardVariants> {
|
|
title: string
|
|
description: string
|
|
primaryCTA?: CTA
|
|
secondaryCTA?: CTA
|
|
sidePeekCTA?: SidePeekCTA
|
|
backgroundImage?: string
|
|
className?: string
|
|
}
|