fix: add loyaltyCard
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { loyaltyCardVariants } from "./variants"
|
||||
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
|
||||
import { ImageVaultAsset } from "@/types/components/imageVaultImage"
|
||||
|
||||
export interface LoyaltyCardProps
|
||||
extends React.HTMLAttributes<HTMLDivElement>,
|
||||
VariantProps<typeof loyaltyCardVariants> {
|
||||
link?: {
|
||||
href: string
|
||||
title: string
|
||||
openInNewTab?: boolean
|
||||
isExternal: boolean
|
||||
}
|
||||
image?: ImageVaultAsset
|
||||
heading?: string | null
|
||||
bodyText?: string | null
|
||||
backgroundImage?: { url: string }
|
||||
}
|
||||
Reference in New Issue
Block a user