feat(SW-217): Split up Card to two (Card and TeaserCard)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { VariantProps } from "class-variance-authority"
|
||||
|
||||
import { contentCardVariants } from "@/components/TempDesignSystem/ContentCard/variants"
|
||||
import { teaserCardVariants } from "@/components/TempDesignSystem/TeaserCard/variants"
|
||||
|
||||
import { ImageVaultAsset } from "@/types/components/imageVault"
|
||||
import type { CardProps } from "@/components/TempDesignSystem/Card/card"
|
||||
@@ -9,13 +9,13 @@ interface SidePeekButton {
|
||||
title: string
|
||||
}
|
||||
|
||||
export interface ContentCardProps
|
||||
extends VariantProps<typeof contentCardVariants> {
|
||||
export interface TeaserCardProps
|
||||
extends VariantProps<typeof teaserCardVariants> {
|
||||
title: string
|
||||
description: string
|
||||
primaryButton?: CardProps["primaryButton"]
|
||||
secondaryButton?: CardProps["secondaryButton"]
|
||||
sidePeekButton?: SidePeekButton
|
||||
backgroundImage?: ImageVaultAsset
|
||||
image?: ImageVaultAsset
|
||||
className?: string
|
||||
}
|
||||
Reference in New Issue
Block a user