feat(BOOK-757): Moved TeaserCard to design system and added stories
Approved-by: Bianca Widstam
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import type {
|
||||
AlertTypeEnum,
|
||||
SidepeekContent,
|
||||
} from "@scandic-hotels/common/constants/alert"
|
||||
import type { AlertTypeEnum } from "@scandic-hotels/common/constants/alert"
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
import type { AriaRole, ReactNode } from "react"
|
||||
|
||||
import { AlertSidepeekContent } from "../../types/sidepeekContent"
|
||||
import type { alertVariants } from "./variants"
|
||||
|
||||
export interface AlertProps extends VariantProps<typeof alertVariants> {
|
||||
@@ -17,7 +15,7 @@ export interface AlertProps extends VariantProps<typeof alertVariants> {
|
||||
phoneNumber?: string
|
||||
footnote?: string | null
|
||||
} | null
|
||||
sidepeekContent?: SidepeekContent | null
|
||||
sidepeekContent?: AlertSidepeekContent | null
|
||||
sidepeekCtaText?: string | null
|
||||
link?: {
|
||||
url: string
|
||||
|
||||
Reference in New Issue
Block a user