20 lines
542 B
TypeScript
20 lines
542 B
TypeScript
import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
|
|
import type { VariantProps } from "class-variance-authority"
|
|
|
|
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 }
|
|
}
|