feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
|
||||
import type { CardProps } from "@/components/TempDesignSystem/Card/card"
|
||||
import type { cardVariants } from "@/components/TempDesignSystem/Card/variants"
|
||||
|
||||
type CardTheme = Exclude<
|
||||
NonNullable<VariantProps<typeof cardVariants>["theme"]>,
|
||||
"image"
|
||||
>
|
||||
|
||||
export interface InfoCardProps {
|
||||
scriptedTopTitle?: string
|
||||
heading: string
|
||||
bodyText?: string
|
||||
image?: ImageVaultAsset
|
||||
imagePosition?: "left" | "right" | "top"
|
||||
primaryButton?: CardProps["primaryButton"]
|
||||
secondaryButton?: CardProps["secondaryButton"]
|
||||
onPrimaryButtonClick?: () => void
|
||||
onSecondaryButtonClick?: () => void
|
||||
theme?: CardTheme
|
||||
className?: string
|
||||
height?: "fixed" | "dynamic"
|
||||
}
|
||||
Reference in New Issue
Block a user