Files
web/components/TempDesignSystem/LoyaltyCard/loyaltyCard.ts
2024-12-12 11:47:44 +01:00

20 lines
532 B
TypeScript

import type { VariantProps } from "class-variance-authority"
import type { ImageVaultAsset } from "@/types/components/imageVault"
import type { loyaltyCardVariants } from "./variants"
export interface LoyaltyCardProps
extends React.HTMLAttributes<HTMLDivElement>,
VariantProps<typeof loyaltyCardVariants> {
link?: {
href: string
isExternal: boolean
openInNewTab: boolean
title: string
}
image?: ImageVaultAsset
heading?: string | null
bodyText?: string | null
backgroundImage?: { url: string }
}